othello/Cargo.toml
2025-03-05 20:21:49 -05:00

48 lines
885 B
TOML

[package]
name = "othello"
version = "0.1.0"
edition = "2021"
[lib]
name = "othello"
path = "src/lib.rs"
[[bin]]
name = "othello_game"
path = "src/main.rs"
[profile.release]
# increases perf at the cost of compile-time
codegen-units = 1 # ~4-5% perf bump
lto = true
[profile.profile]
inherits = "release"
# for profiling
debug = true
[dependencies]
arrayvec = "0.7"
console = "0.15"
const_fn = "0.4"
crossbeam-channel = "0.5"
either = "1.13"
indicatif = { version = "0.17", features = [ "rayon" ] }
nohash-hasher = "0.2"
num = "0.4"
rand = "0.9"
rayon = "1.10.0"
skillratings = "0.27.1"
static_assertions = "1.1"
[dev-dependencies]
criterion = { version = "0.5", features = [ "html_reports" ] }
[[bench]]
name = "future_children"
harness = false
[lints.rust]
# fix weird warnings about `test` not being expected
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(test)'] }