-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (31 loc) · 957 Bytes
/
Cargo.toml
File metadata and controls
40 lines (31 loc) · 957 Bytes
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
[package]
name = "deschiffres"
version = "0.5.0"
edition = "2021"
[lib]
crate-type = ["rlib", "cdylib"]
[[bin]]
name = "deschiffres"
path = "src/main.rs"
[[bin]]
name = "benchmark"
path = "src/benchmark.rs"
required-features = ["benchmark"]
[features]
wasm = ["dep:serde", "dep:wasm-bindgen", "dep:serde-wasm-bindgen", "dep:console_error_panic_hook"]
benchmark = []
[dependencies]
crossbeam-channel = { version = "0.5.6", features = ["crossbeam-utils"] }
crossbeam-utils = "0.8.14"
itertools = "0.10.5"
cfg-if = "1.0.0"
# [target.'cfg(target_arch = "wasm32")'.dependencies]
serde = {version = "1.0", features = ["derive"], optional = true}
wasm-bindgen = {version = "0.2", optional = true}
serde-wasm-bindgen = {version = "0.4", optional = true}
console_error_panic_hook = { version = "0.1.7", optional = true}
[target.'cfg(target_arch = "wasm32")'.dependencies]
wee_alloc = {version = "0.4.5"}
[profile.release]
lto = true
opt-level = 's' # z | s