-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
43 lines (34 loc) · 1.15 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "d2_calculation_api"
edition = "2021"
version = "1.0.2"
rust-version = "1.65"
repository = "https://github.com/oh-yes-0-fps/D2_Calculation_API"
build = "build.rs"
[features]
wasm = ["serde-wasm-bindgen", "wasm-bindgen", "console_error_panic_hook"]
python = ["pyo3", "pyo3-built"]
foundry = []
[build-dependencies]
built = { version = "0.6", features = ["git2", "chrono", "semver"] }
serde = { version = "^1.0", features = ["derive"]}
reqwest = { version = "^0.11", features = ["json", "blocking"] }
serde_json = "^1.0"
ron = "^0.8"
[dev-dependencies]
num-traits = "0.2"
# wasm-bindgen-test = { version = "^0.3", optional = true }
[dependencies]
serde = { version = "^1.0", features = ["derive"]}
built = { version = "0.6", features = ["chrono", "semver"] }
serde-wasm-bindgen = { version = "^0.5", optional = true }
console_error_panic_hook = { version = "0.1.7", optional = true}
wasm-bindgen = { version = "^0.2", optional = true}
pyo3 = { version = "^0.18", features = ["extension-module"], optional = true}
pyo3-built = { version = "^0.4", optional = true}
num_enum = "0.6.0"
[lib]
crate-type = ["cdylib"]
[profile.release]
lto = true
opt-level = "z"