-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
34 lines (30 loc) · 982 Bytes
/
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
[package]
name = "tyche"
version = "0.2.0"
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"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["parse", "fastrand"]
parse = ["dep:chumsky"]
fastrand = ["dep:fastrand"]
build-binary = ["parse", "fastrand", "dep:ariadne"]
[dependencies]
thiserror = "1.0.57"
fastrand = { version = "2.0.1", optional = true }
chumsky = { version = "1.0.0-alpha.7", optional = true, features = ["label"] }
ariadne = { version = "0.4", optional = true }
pretty-readme = "0.1.0"
[[bin]]
name = "tyche"
required-features = ["build-binary"]