-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (35 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "tyche"
version = "0.3.1"
description = "Dice rolling and dice expression (with a syntax similar to FoundryVTT) parsing library"
authors = ["Schuyler Cebulskie <[email protected]>"]
keywords = ["dice", "d20", "rpg", "dnd", "tabletop"]
categories = [
"games",
"game-development",
"mathematics",
"parser-implementations",
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/Gawdl3y/tyche-rs"
edition = "2021"
rust-version = "1.81"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["std", "parse", "fastrand"]
std = ["thiserror/std", "chumsky?/std", "fastrand?/std"]
parse = ["dep:chumsky"]
fastrand = ["dep:fastrand"]
build-binary = ["std", "parse", "fastrand", "dep:ariadne"]
[dependencies]
thiserror = { version = "2.0.11", default-features = false }
fastrand = { version = "2.3.0", optional = true, default-features = false }
chumsky = { version = "1.0.0-alpha.7", optional = true, default-features = false, features = [
"label",
"spill-stack",
] }
ariadne = { version = "0.5", optional = true }
pretty-readme = "0.1.0"
[[bin]]
name = "tyche"
required-features = ["build-binary"]