forked from bytecodealliance/wstd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
95 lines (87 loc) · 2.28 KB
/
Cargo.toml
File metadata and controls
95 lines (87 loc) · 2.28 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "wstd"
version.workspace = true
license.workspace = true
documentation = "https://docs.rs/wstd"
description = "An async standard library for Wasm Components and WASI 0.2"
readme = "README.md"
edition.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
default = ["json"]
json = ["dep:serde", "dep:serde_json"]
[dependencies]
async-task.workspace = true
futures-core.workspace = true
http.workspace = true
itoa.workspace = true
pin-project-lite.workspace = true
slab.workspace = true
wasip2.workspace = true
wstd-macro.workspace = true
# optional
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
[dev-dependencies]
anyhow.workspace = true
clap.workspace = true
futures-lite.workspace = true
futures-concurrency.workspace = true
humantime.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
[workspace]
members = [
"macro",
"test-programs",
"test-programs/artifacts",
]
resolver = "2"
[workspace.package]
version = "0.5.6"
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wstd"
keywords = ["WebAssembly", "async", "stdlib", "Components"]
categories = ["wasm", "asynchronous"]
# Rust-version policy: stable N-2, same as wasmtime.
rust-version = "1.87"
authors = [
"Yoshua Wuyts <rust@yosh.is>",
"Pat Hickey <pat@moreproductive.org>",
"Dan Gohman <dev@sunfishcode.online>",
]
[workspace.dependencies]
anyhow = "1"
async-task = "4.7"
cargo_metadata = "0.22"
clap = { version = "4.5.26", features = ["derive"] }
futures-core = "0.3.19"
futures-lite = "1.12.0"
futures-concurrency = "7.6"
humantime = "2.1.0"
heck = "0.5"
http = "1.1"
itoa = "1"
pin-project-lite = "0.2.8"
quote = "1.0"
serde= "1"
serde_json = "1"
slab = "0.4.9"
syn = "2.0"
test-log = { version = "0.2", features = ["trace"] }
test-programs = { path = "test-programs" }
test-programs-artifacts = { path = "test-programs/artifacts" }
ureq = { version = "2.12.1", default-features = false }
wasip2 = "1.0"
wstd = { path = "." }
wstd-macro = { path = "macro", version = "=0.5.6" }
[package.metadata.docs.rs]
all-features = true
targets = [
"wasm32-wasip2"
]