yahtzee-engine 0.1.0

Yahtzee rules, scoring, and bots: a fast heuristic and an exact optimal expected-value solver
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "yahtzee-engine"
version = "0.1.0"
authors = ["Chen-Pang He (https://jdh8.org)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Yahtzee rules, scoring, and bots: a fast heuristic and an exact optimal expected-value solver"
homepage = "https://github.com/jdh8/yahtzee-engine"
documentation = "https://docs.rs/yahtzee-engine"
readme = "README.md"
keywords = [
    "yahtzee",
    "dice",
    "solver",
    "expectimax",
    "ai",
]
categories = [
    "game-development",
    "games",
    "simulation",
]
license = "Apache-2.0"
repository = "https://github.com/jdh8/yahtzee-engine"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["rand"]
parallel = ["dep:rayon"]
rand = ["dep:rand"]

[lib]
name = "yahtzee_engine"
path = "src/lib.rs"

[[example]]
name = "arena"
path = "examples/arena.rs"
required-features = ["rand"]

[[example]]
name = "play"
path = "examples/play.rs"
required-features = ["rand"]

[[example]]
name = "solve"
path = "examples/solve.rs"

[[test]]
name = "proptest"
path = "tests/proptest.rs"

[[test]]
name = "strength"
path = "tests/strength.rs"

[[bench]]
name = "solver"
path = "benches/solver.rs"
harness = false

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = "1.9"
features = ["std"]
default-features = false

[profile.dev.package."*"]
opt-level = 2