47 lines
742 B
TOML
47 lines
742 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
|
|
# incremental = false
|
|
# overflow-checks = false
|
|
|
|
[profile.profile]
|
|
inherits = "release"
|
|
# for profiling
|
|
debug = true
|
|
|
|
|
|
[features]
|
|
bitvec = [ "dep:bitvec" ]
|
|
|
|
[dependencies]
|
|
arrayvec = "0.7"
|
|
bitvec = { version = "1", optional = true }
|
|
either = "1.13"
|
|
indicatif = "0.17"
|
|
lazy_static = "1.5"
|
|
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
|