axum/examples/simple-router-wasm
Logan Keenan 31638a2b22
Add tokio feature & make tokio optional for WASM support (#1382)
* 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>
2022-09-25 15:10:33 +00:00
..
src Add tokio feature & make tokio optional for WASM support (#1382) 2022-09-25 15:10:33 +00:00
Cargo.toml Add tokio feature & make tokio optional for WASM support (#1382) 2022-09-25 15:10:33 +00:00