-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
61 lines (47 loc) · 1.33 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
61
[package]
name = "r"
description = "An experimental reimaginging of R"
authors = ["Doug Kelkhoff", "Sebastian Fischer"]
version = "0.4.0"
edition = "2021"
license-file = "LICENSE.md"
repository = "https://github.com/dgkf/R/"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "r"
path = "src/bin.rs"
[lib]
name = "r"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[profile.release]
lto = true
[build-dependencies]
regex = "1.9.4"
[dependencies]
r_derive = { path = "r_derive" }
# parser
pest = "2.7.10"
pest_derive = "2.7.10"
# rng
rand = "0.8.5"
rand_distr = "0.4.3"
getrandom = "0.2.10"
# terminal interfaces
crossterm = { version = "0.27.0", optional = true }
reedline = { version = "0.22.0", optional = true }
nu-ansi-term = { version = "0.49.0", optional = true }
# cli
clap = { version = "4.5.1", features = ["derive"] }
strum = { version = "0.26.1", features = ["derive"] }
hashbrown = "0.14.5"
[features]
default = ["repl"]
repl = ["dep:crossterm", "dep:reedline", "dep:nu-ansi-term"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2.91" }
serde = { version = "1.0.197", features = ["derive"] }
js-sys = "0.3.64"
gloo-utils = { version = "0.2.0", features = ["serde"] }
getrandom = { version = "0.2", features = ["js"] }