-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (27 loc) · 814 Bytes
/
Cargo.toml
File metadata and controls
33 lines (27 loc) · 814 Bytes
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
[package]
name = "orchestrion-js"
version = "0.1.0"
edition = "2021"
rust-version = "1.84.1"
license = "Apache-2.0"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
wasm = ["wasm-bindgen", "tsify", "getrandom"]
[dependencies]
nodejs-semver = { version = "4", features = ["serde"] }
swc = "21"
swc_core = { version = "22", features = ["ecma_plugin_transform","ecma_quote"] }
swc_ecma_parser = "11"
swc_ecma_visit = { version = "8", features = ["path"] }
serde = { version = "1", features = ["derive"] }
# wasm
wasm-bindgen = { version = "0.2", optional = true }
tsify = { version='0.5', features = ["js"], optional = true}
# we need this to enable the js feature
getrandom = { version = "*", features = ["js"], optional = true }
[dev-dependencies]
assert_cmd = "2"
[profile.release]
lto = true
opt-level = "s"