-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (41 loc) · 1.12 KB
/
Cargo.toml
File metadata and controls
51 lines (41 loc) · 1.12 KB
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
44
45
46
47
48
49
50
51
[package]
name = "direct-cobra-copy"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "perft_cli"
path = "src/bin/perft_cli.rs"
[[bin]]
name = "profile_perft"
path = "src/bin/profile_perft.rs"
[[bin]]
name = "bench_perft"
path = "src/bin/bench_perft.rs"
[[bin]]
name = "calibrate_skill_buckets"
path = "src/bin/calibrate_skill_buckets.rs"
[[bin]]
name = "replay_validation_gate"
path = "src/bin/replay_validation_gate.rs"
[features]
default = ["rayon"]
rayon = ["dep:rayon"]
wasm = ["dep:wasm-bindgen", "dep:serde", "dep:serde_json", "dep:js-sys", "dep:console_error_panic_hook"]
[dependencies]
rayon = { version = "1.10", optional = true }
smallvec = "1.13"
wasm-bindgen = { version = "=0.2.100", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
js-sys = { version = "0.3", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = "symbols"