diff --git a/examples/simple-router-wasm/Cargo.toml b/examples/simple-router-wasm/Cargo.toml index 03de581ab0..64a514a168 100644 --- a/examples/simple-router-wasm/Cargo.toml +++ b/examples/simple-router-wasm/Cargo.toml @@ -8,6 +8,9 @@ publish = false # `default-features = false` to not depend on tokio features which don't support wasm # you can still pull in tokio manually and only add features that tokio supports for wasm axum = { path = "../../axum", default-features = false } +# we don't strictly need axum-extra for this example but wanna make sure that +# works in wasm as well +axum-extra = { path = "../../axum-extra", default-features = false } futures-executor = "0.3.21" http = "0.2.7" tower-service = "0.3.1"