forked from bytecodealliance/wit-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
34 lines (30 loc) · 1.14 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
[package]
name = "wit-bindgen-cli"
version = "0.2.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"
[workspace]
members = [
"crates/test-rust-wasm",
"crates/wit-bindgen-demo",
"crates/wit-component",
]
resolver = "2"
[[bin]]
name = "wit-bindgen"
test = false
[dependencies]
anyhow = "1.0"
structopt = { version = "0.3", default-features = false }
wit-bindgen-gen-core = { path = 'crates/gen-core' }
wit-bindgen-gen-rust-wasm = { path = 'crates/gen-rust-wasm', features = ['structopt'] }
wit-bindgen-gen-wasmtime = { path = 'crates/gen-wasmtime', features = ['structopt'] }
wit-bindgen-gen-wasmtime-py = { path = 'crates/gen-wasmtime-py', features = ['structopt'] }
wit-bindgen-gen-js = { path = 'crates/gen-js', features = ['structopt'] }
wit-bindgen-gen-c = { path = 'crates/gen-c', features = ['structopt'] }
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', features = ['structopt'] }
wit-bindgen-gen-spidermonkey = { path = 'crates/gen-spidermonkey', features = ['structopt'] }
# Compiling `spidermonkey.wasm` takes way too long without this.
[profile.dev.package.cranelift-codegen]
debug-assertions = false
opt-level = 2