othello/Cargo.toml

48 lines
845 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
[features]
bitvec = [ "dep:bitvec" ]
[dependencies]
arrayvec = "0.7"
bitvec = { version = "1", optional = true }
const_fn = "0.4"
either = "1.13"
indicatif = "0.17"
nohash-hasher = "0.2"
num = "0.4"
rand = "0.9"
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)'] }