-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (48 loc) · 1.21 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
[package]
name = "plushie"
version = "0.0.1"
edition = "2021"
license = "Apache-2.0"
authors = ["Federico Maria Morrone <[email protected]>"]
readme = "README.md"
repository = "https://github.com/plushie-lang/plushie"
publish = false
[profile.release]
lto = true
codegen-units = 1
strip = true
[lib]
crate-type = ["cdylib", "rlib"]
[features]
bin = ["dep:clap"]
js = ["dep:oxc"]
native = [
"dep:cranelift",
"dep:cranelift-module",
"dep:cranelift-jit",
"dep:cranelift-native",
]
wasm = ["dep:wasm-bindgen"]
[dependencies]
anyhow = "1.0.95"
lalrpop-util = { version = "0.22.0", features = ["lexer", "unicode"] }
unicode-width = "0.2.0"
# Bin
clap = { version = "4.5.23 ", features = [
"cargo",
"derive",
"env",
"unicode",
"wrap_help",
], optional = true }
# Cranelift stuff
cranelift = { version = "0.114", optional = true }
cranelift-module = { version = "0.114", optional = true }
cranelift-jit = { version = "0.114", optional = true }
cranelift-native = { version = "0.114", optional = true }
# Js depedencies
oxc = { version = "0.44.0", features = ["full"], optional = true }
# Wasm support
wasm-bindgen = { version = "0.2.99", optional = true }
[build-dependencies]
lalrpop = "0.22.0"