Reorder some TOML sections (#3360)

This commit is contained in:
Jonas Platte
2025-05-25 08:46:05 +02:00
committed by GitHub
parent dd8d4a47cb
commit d0aff24c85
7 changed files with 113 additions and 105 deletions
+3 -3
View File
@@ -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"]
+8 -8
View File
@@ -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"