forked from kinghajj/minimax-rs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
32 lines (26 loc) · 795 Bytes
/
Cargo.toml
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
[package]
name = "minimax"
version = "0.5.4"
authors = [ "Eric Roshan-Eisner <[email protected]>", "Samuel Fredrickson <[email protected]>" ]
description = "Generic implementations of Minimax."
documentation = "https://docs.rs/minimax"
edition = "2021"
repository = "https://github.com/edre/minimax-rs"
readme = "README.md"
keywords = ["ai", "game", "minimax", "negamax"]
license = "MIT"
[dependencies]
instant = { version = "0.1", features = ["wasm-bindgen"] }
rand = "0.9"
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
num_cpus = "1.0"
rayon = "^1.5"
[target.'cfg(target_arch="wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"]}
[dev-dependencies]
bencher = "0.1.5"
[[bench]]
name = "negamax"
harness = false
[profile.test]
opt-level = 3