xdy 0.9.0

Complex RPG dice expression evaluator with histogram support.
# 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"
name = "xdy"
version = "0.9.0"
authors = ["Todd L Smith <todd@availlang.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Complex RPG dice expression evaluator with histogram support."
readme = "README.md"
keywords = [
    "dice",
    "rpg",
    "xdy",
    "parsing",
]
categories = [
    "compilers",
    "parsing",
    "game-development",
    "mathematics",
]
license = "BSD-3-Clause"
repository = "https://github.com/toddATavail/xdy"
resolver = "2"

[features]
bench = []
default = [
    "parallel-histogram",
    "serde",
]
parallel-histogram = ["dep:rayon"]
serde = ["dep:serde"]

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

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

[dependencies.aquamarine]
version = "0.6"

[dependencies.nom]
version = "8.0.0"

[dependencies.nom-language]
version = "0.1.0"

[dependencies.nom_locate]
version = "5.0.0"

[dependencies.rand]
version = "0.10"

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

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[build-dependencies.ebnsf]
version = "0.1"