-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (49 loc) · 1.12 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "roll_lang"
version = "0.1.0"
authors = ["Jacob Guenther <jacobrwguenther@protonmail.com>"]
edition = "2018"
description = "An interpreter for a modified version of dice notation."
readme = "README.md"
repository = "https://github.com/jacobguenther/roll_lang"
license-file = "LICENSE.md"
keywords = ["Dice", "Notation"]
categories = ["game-development", "parser-implementations", "text-processing"]
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
[lib]
crate-type = ["cdylib", "lib"]
[features]
default = ["wasm-bindings"]
wasm-bindings = ["dep:wasm-bindgen", "dep:web-sys", "dep:js-sys"]
use-rand = ["dep:rand"]
[dependencies]
unicode-segmentation = "1.6.0"
[dependencies.rand]
version = "0.8.5"
optional = true
[dependencies.wasm-bindgen]
version = "0.2.67"
features = ["serde-serialize"]
optional = true
[dependencies.web-sys]
version = "0.3"
features = [
"Window",
"Document",
"HtmlDocument",
"Element",
"HtmlTextAreaElement",
"HtmlInputElement"
]
optional = true
[dependencies.js-sys]
version = "0.3.44"
optional = true
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "all"
harness = false