[[bench]]
name = "dice"
path = "benches/dice.rs"
[[bench]]
name = "e2e"
path = "benches/e2e.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
[[bin]]
name = "tyche"
path = "src/main.rs"
required-features = ["build-binary"]
[dependencies.ariadne]
optional = true
version = "0.5"
[dependencies.chumsky]
default-features = false
features = ["label", "spill-stack"]
optional = true
version = "1.0.0-alpha.7"
[dependencies.fastrand]
default-features = false
optional = true
version = "2.3.0"
[dependencies.pretty-readme]
version = "0.1.0"
[dependencies.thiserror]
default-features = false
version = "2.0.11"
[features]
build-binary = ["std", "parse", "fastrand", "dep:ariadne"]
default = ["std", "parse", "fastrand"]
fastrand = ["dep:fastrand"]
parse = ["dep:chumsky"]
std = ["thiserror/std", "chumsky?/std", "fastrand?/std"]
[lib]
name = "tyche"
path = "src/lib.rs"
[package]
authors = ["Schuyler Cebulskie <me@gawdl3y.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["games", "game-development", "mathematics", "parser-implementations"]
description = "Dice rolling and dice expression (with a syntax similar to FoundryVTT) parsing library"
edition = "2021"
keywords = ["dice", "d20", "rpg", "dnd", "tabletop"]
license = "LGPL-3.0-or-later"
name = "tyche"
readme = "README.md"
repository = "https://github.com/Gawdl3y/tyche-rs"
rust-version = "1.81"
version = "0.3.1"