forked from bytecodealliance/WASI-Virt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (50 loc) · 1.24 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
cargo-features = ["profile-rustflags"]
[package]
name = "wasi-virt"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["lib"]
[[bin]]
name = "wasi-virt"
[workspace]
exclude = ["testapp"]
members = [
"virtual-adapter",
"tests/components/do-everything",
"tests/components/file-read",
"tests/components/get-env",
"tests/components/stdio",
]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
rustflags = ["-Zoom=panic"]
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
toml = "0.7"
# TODO: use published version of walrus
walrus = { git = "https://github.com/rustwasm/walrus", rev = "db5d437b91e80c564f5e45204b8b165027d2a870" }
wasm-compose = "0.4.2"
wasm-metadata = "0.10.5"
wasm-opt = "0.114.1"
wit-component = "0.14.2"
[build-dependencies]
anyhow = "1"
[dev-dependencies]
anyhow = "1"
cap-std = "1.0.12"
heck = { version = "0.4" }
tokio = { version = "1.30.0", features = ["macros"] }
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", features = [
"component-model",
] }
wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime" }
wasmparser = "0.113.1"
[workspace.dependencies]
anyhow = "1"
wit-bindgen = "0.12.0"