mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
31638a2b22
* add server feature and make tokio and hyper/server and tcp optional * address review comments * don't mention any specific runtimes in the example * sort deps * add `tokio` feature when adding `ws` * don't always pull in tower feature that pulls in tokio io stuff * remove usage of `tokio_cr` * changelog * depend on tokio version that supports wasm * don't make it sound like tokio doesn't support wasm * call out new default feature Co-authored-by: Fisher Darling <fdarlingco@gmail.com> Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
13 lines
413 B
TOML
13 lines
413 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 }
|
|
futures-executor = "0.3.21"
|
|
http = "0.2.7"
|
|
tower-service = "0.3.1"
|