We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 277c0a6 commit ad3c5ccCopy full SHA for ad3c5cc
2 files changed
crates/wasip3/Cargo.toml
@@ -15,12 +15,13 @@ rust-version.workspace = true
15
all-features = true
16
17
[features]
18
+async-spawn = ["wit-bindgen/async-spawn"]
19
http-compat = [
20
"dep:bytes",
21
"dep:http-body",
22
"dep:http",
23
"dep:thiserror",
- "wit-bindgen/async-spawn",
24
+ "async-spawn",
25
]
26
27
[dependencies]
crates/wasip3/src/lib.rs
@@ -176,6 +176,9 @@ where
176
// Reexport wit-bindgen to downstream users don't have to depend on it.
177
pub use wit_bindgen;
178
179
+#[cfg(feature = "async-spawn")]
180
+pub use wit_bindgen::spawn;
181
+
182
// Expand the `cli` and `http` modules with `export!` macros for the
183
// command/proxy worlds, but also retain all the contents defined in the
184
// `bindings` module as well.
0 commit comments