async work
This commit is contained in:
@@ -9,6 +9,10 @@ repository = "https://github.com/Titaniumtown/YTBN-Graphing-Software"
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[features]
|
||||
threading = ["async-lock", "rayon"]
|
||||
|
||||
|
||||
[profile.release]
|
||||
debug = false
|
||||
codegen-units = 1
|
||||
@@ -48,7 +52,9 @@ phf_codegen = "0.10.0"
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
instant = { version = "0.1.12" }
|
||||
tracing-subscriber = "0.3.9"
|
||||
rayon = { git = "https://github.com/rayon-rs/rayon.git" }
|
||||
rayon = { git = "https://github.com/rayon-rs/rayon.git", optional = true }
|
||||
async-lock = { git = "https://github.com/smol-rs/async-lock.git", optional = true }
|
||||
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
|
||||
|
||||
Reference in New Issue
Block a user