mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
Reorder some TOML sections (#3360)
This commit is contained in:
@@ -4,6 +4,9 @@ version = "0.1.0"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
|
||||
[package.metadata.cargo-machete]
|
||||
ignored = ["axum-extra"]
|
||||
|
||||
[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
|
||||
@@ -14,6 +17,3 @@ axum-extra = { path = "../../axum-extra", default-features = false }
|
||||
futures-executor = "0.3.21"
|
||||
http = "1.0.0"
|
||||
tower-service = "0.3.1"
|
||||
|
||||
[package.metadata.cargo-machete]
|
||||
ignored = ["axum-extra"]
|
||||
|
||||
@@ -4,6 +4,14 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[[bin]]
|
||||
name = "example-websockets"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "example-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
[dependencies]
|
||||
axum = { path = "../../axum", features = ["ws"] }
|
||||
axum-extra = { path = "../../axum-extra", features = ["typed-header"] }
|
||||
@@ -15,11 +23,3 @@ tokio-tungstenite = "0.26.0"
|
||||
tower-http = { version = "0.6.1", features = ["fs", "trace"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
[[bin]]
|
||||
name = "example-websockets"
|
||||
path = "src/main.rs"
|
||||
|
||||
[[bin]]
|
||||
name = "example-client"
|
||||
path = "src/client.rs"
|
||||
|
||||
Reference in New Issue
Block a user