[package]
edition = "2021"
rust-version = "1.85"
name = "mctrust"
version = "0.4.0"
authors = ["Santh Project <contact@santh.dev>"]
build = false
exclude = ["target/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal search & planning toolkit — MCTS, bandit search, pluggable evaluators, tree reuse, DAG transpositions, root parallelism. Define an Environment, search handles the rest."
homepage = "https://github.com/santhsecurity/mctrust"
readme = "README.md"
keywords = [
"mcts",
"search",
"planning",
"optimization",
"tree-search",
]
categories = [
"algorithms",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/santhsecurity/mctrust"
[features]
dag = [
"dep:hashbrown",
"dep:rustc-hash",
]
default = [
"std",
"parallel",
"dag",
"toml",
]
parallel = [
"dep:rayon",
"std",
]
std = [
"rand/std",
"rand/std_rng",
]
toml = ["dep:toml"]
[lib]
name = "mctrust"
path = "src/lib.rs"
[[example]]
name = "mctrust_basic"
path = "examples/mctrust_basic.rs"
[[example]]
name = "mctrust_config"
path = "examples/mctrust_config.rs"
[[example]]
name = "optimization"
path = "examples/optimization.rs"
[[example]]
name = "tic_tac_toe"
path = "examples/tic_tac_toe.rs"
[[test]]
name = "adversarial_extra"
path = "tests/adversarial_extra.rs"
[[test]]
name = "concurrent"
path = "tests/concurrent.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[test]]
name = "regression"
path = "tests/regression.rs"
[[test]]
name = "test_legendary_adversarial"
path = "tests/adversarial/test_legendary_adversarial.rs"
[[test]]
name = "unit"
path = "tests/unit.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
[dependencies.hashbrown]
version = "=0.17.0"
optional = true
[dependencies.rand]
version = "=0.10.1"
features = [
"alloc",
"sys_rng",
]
default-features = false
[dependencies.rand_chacha]
version = "=0.10.0"
default-features = false
[dependencies.rayon]
version = "=1.10.0"
optional = true
[dependencies.rustc-hash]
version = "=2.1.2"
optional = true
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "=2.0.18"
[dependencies.toml]
version = "=0.8.23"
optional = true
[dev-dependencies.faultkit]
version = "=0.1.0"
[dev-dependencies.proptest]
version = "=1.9.0"
[dev-dependencies.serde_json]
version = "=1.0.149"
[dev-dependencies.toml]
version = "=0.8.23"