mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 15:30:16 +01:00
43b14a5f02
Co-authored-by: Michael Scofield <mscofield0@tutanota.com> Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
16 lines
582 B
TOML
16 lines
582 B
TOML
[package]
|
|
name = "example-simple-router-wasm"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
# `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 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"
|
|
http = "1.0.0"
|
|
tower-service = "0.3.1"
|