mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Make sure axum-extra also supports being compiled to WASM (#2237)
Co-authored-by: Jonas Platte <[email protected]>
This commit is contained in:
co-authored by
Jonas Platte
parent
3b3bbb2403
commit
c8cf147657
@@ -8,6 +8,9 @@ publish = false
|
|||||||
# `default-features = false` to not depend on tokio features which don't support wasm
|
# `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
|
# you can still pull in tokio manually and only add features that tokio supports for wasm
|
||||||
axum = { path = "../../axum", default-features = false }
|
axum = { path = "../../axum", default-features = false }
|
||||||
|
# we don't strictly use axum-extra in 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"
|
futures-executor = "0.3.21"
|
||||||
http = "0.2.7"
|
http = "0.2.7"
|
||||||
tower-service = "0.3.1"
|
tower-service = "0.3.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user