-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (52 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
62 lines (52 loc) · 1.65 KB
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
62
[package]
name = "wasi"
version = "0.14.7+wasi-0.2.4"
description = "WASI API bindings for Rust"
categories = ["no-std", "wasm"]
keywords = ["webassembly", "wasm"]
readme = "README.md"
documentation = "https://docs.rs/wasi"
license.workspace = true
edition.workspace = true
repository.workspace = true
rust-version.workspace = true
exclude = ["/.github", "/ci/", "/examples/"]
[workspace.package]
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/bytecodealliance/wasi-rs"
rust-version = "1.87.0"
[workspace.dependencies]
rand = { version = "0.8.5", default-features = false }
wasi = { version = "0.14.6", path = ".", default-features = false }
wit-bindgen = { version = "0.57.1", default-features = false }
wasip1 = { version = "1.0.0", path = "crates/wasip1", default-features = false }
wasip2 = { version = "1.0.1", path = "crates/wasip2", default-features = false }
wasip3 = { version = "0.1.1", path = "crates/wasip3", default-features = false }
core = { version = "1.0", package = "rustc-std-workspace-core" }
alloc = { version = "1.0", package = "rustc-std-workspace-alloc" }
[workspace]
members = ["./crates/*"]
[dependencies]
wasip2 = { workspace = true }
[features]
default = ["wasip2/default"]
std = ["wasip2/std"]
bitflags = ["wasip2/bitflags"]
[[example]]
name = "cli-command-no_std"
crate-type = ["cdylib"]
[[example]]
name = "cli-command"
crate-type = ["cdylib"]
required-features = ["std"]
[[example]]
name = "hello-world"
required-features = ["std"]
[[example]]
name = "http-proxy-no_std"
crate-type = ["cdylib"]
[[example]]
name = "http-proxy"
crate-type = ["cdylib"]
required-features = ["std"]