Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Enable `p3` features by default (#14137)

Adam Bratschi-Kayef96772ee3e38
diff --git a/crates/wasi-http/Cargo.toml b/crates/wasi-http/Cargo.toml
index 5ec07df25c..664269d316 100644
--- a/crates/wasi-http/Cargo.toml
+++ b/crates/wasi-http/Cargo.toml
@@ -15,7 +15,7 @@ workspace = true
all-features = true
[features]
-default = ["default-send-request", "p2"]
+default = ["default-send-request", "p2", "p3"]
default-send-request = ["dep:tokio-rustls", "dep:rustls", "dep:webpki-roots"]
p2 = ["wasmtime-wasi/p2"]
p3 = ["wasmtime-wasi/p3", "dep:tokio-util"]
diff --git a/crates/wasi-tls/Cargo.toml b/crates/wasi-tls/Cargo.toml
index ca86ccd4fc..2a796af152 100644
--- a/crates/wasi-tls/Cargo.toml
+++ b/crates/wasi-tls/Cargo.toml
@@ -15,7 +15,7 @@ workspace = true
all-features = true
[features]
-default = ["p2", "rustls"]
+default = ["p2", "p3", "rustls"]
p2 = ["wasmtime-wasi/p2"]
p3 = ["wasmtime-wasi/p3", "wasmtime/component-model-async", "tracing"]
rustls = ["dep:rustls", "dep:tokio-rustls", "dep:webpki-roots"]
diff --git a/crates/wasi/Cargo.toml b/crates/wasi/Cargo.toml
index 444a92d1dc..48775b62c5 100644
--- a/crates/wasi/Cargo.toml
+++ b/crates/wasi/Cargo.toml
@@ -61,7 +61,7 @@ features = [
]
[features]
-default = ["p1", "p2"]
+default = ["p1", "p2", "p3"]
p0 = ["p1"]
p1 = ["dep:wiggle", "p2"]
p2 = ["wasmtime/component-model", "wasmtime/async"]