mctrust 0.4.0

Universal search & planning toolkit — MCTS, bandit search, pluggable evaluators, tree reuse, DAG transpositions, root parallelism. Define an Environment, search handles the rest.
Documentation
[package]
exclude = ["target/"]
name = "mctrust"
version = "0.4.0"
edition = "2021"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
authors = ["Santh Project <contact@santh.dev>"]
repository = "https://github.com/santhsecurity/mctrust"
homepage = "https://github.com/santhsecurity/mctrust"
description = "Universal search & planning toolkit — MCTS, bandit search, pluggable evaluators, tree reuse, DAG transpositions, root parallelism. Define an Environment, search handles the rest."
readme = "README.md"
keywords = ["mcts", "search", "planning", "optimization", "tree-search"]
categories = ["algorithms", "science"]

[dependencies]
rand = { version = "=0.10.1", default-features = false, features = ["alloc", "sys_rng"] }
rand_chacha = { version = "=0.10.0", default-features = false }
serde = { version = "=1.0.228", features = ["derive"] }
thiserror = "=2.0.18"

# Optional: TOML config loading (not needed for programmatic usage)
toml = { version = "=0.8.23", optional = true }

# Feature-gated dependencies
rayon = { version = "=1.10.0", optional = true }
hashbrown = { version = "=0.17.0", optional = true }
rustc-hash = { version = "=2.1.2", optional = true }

[dev-dependencies]
faultkit = "=0.1.0"
toml = "=0.8.23"
proptest = "=1.9.0"
serde_json = "=1.0.149"

[features]
default = ["std", "parallel", "dag", "toml"]
std = ["rand/std", "rand/std_rng"]
parallel = ["dep:rayon", "std"]
dag = ["dep:hashbrown", "dep:rustc-hash"]
toml = ["dep:toml"]

[[test]]
name = "test_legendary_adversarial"
path = "tests/adversarial/test_legendary_adversarial.rs"


[workspace]