-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
94 lines (78 loc) · 2.18 KB
/
Cargo.toml
File metadata and controls
94 lines (78 loc) · 2.18 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "chess"
version = "1.0.0"
authors = ["Cody Joseph Krainock <cody@krainock.com>"]
edition = "2018"
build = "precompile/src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
instrumentation = ["tracing", "tracing-subscriber", "tracing-timing"]
[dependencies]
regex = { version = "1.5", default-features = false, features = ["std", "unicode", "unicode-case"] }
once_cell = "1.19"
rand = { version = "0.8.4", default-features = false, features = ["std", "std_rng"] }
termion = "1"
thiserror = "1.0"
structopt = { version = "0.3", default-features = false }
fastrand = "1.6.0"
rustc-hash = "1.1.0"
log = "0.4.14"
env_logger = { version = "0.9.0", default-features = false, features = ["humantime"] }
common = { path = "common" }
lru = "0.12.3"
smallvec = "1.13.2"
dashmap = "5.5"
rayon = "=1.10.0"
rayon-core = "=1.12.1"
ratatui = "0.28"
crossterm = "0.28"
thread_local = "1.1"
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.2", optional = true, features = ["env-filter"] }
tracing-timing = { version = "0.6", optional = true }
[build-dependencies]
precompile = { path = "precompile" }
[profile.dev]
# Fast compilation for development iteration
opt-level = 0 # No optimization for fast compilation
debug = true # Keep debug symbols
incremental = true # Enable incremental compilation (default)
# Optimize dependencies slightly without affecting main crate compilation time
[profile.dev.package."*"]
opt-level = 1 # Basic optimization for dependencies only
[profile.release]
debug = true
lto = true
codegen-units = 1
opt-level = 3
incremental = false
[profile.bench]
debug = true
lto = true
codegen-units = 1
opt-level = 3
incremental = false
[dev-dependencies]
criterion = "0.3"
[[bin]]
name="chess"
path="src/main.rs"
[[bench]]
name = "count_positions_benchmark"
harness = false
[[bench]]
name = "alpha_beta_benchmark"
harness = false
[[bench]]
name = "pvp_benchmark"
harness = false
[[bench]]
name = "move_generation_benchmark"
harness = false
[[bench]]
name = "optimization_benchmark"
harness = false
[[bench]]
name = "evaluation_benchmark"
harness = false