Upgrade axum to reduce binary size

For some reason upgrading axum to 0.8 reduces the binary size by 300kB
This commit is contained in:
Markus Unterwaditzer
2025-04-02 01:13:46 +02:00
committed by Cooper Quintin
parent dd67fbf645
commit aafd83d636
2 changed files with 36 additions and 40 deletions
+2 -2
View File
@@ -16,12 +16,12 @@ rayhunter = { path = "../lib" }
toml = "0.8.8"
serde = { version = "1.0.193", features = ["derive"] }
tokio = { version = "1.44.2", features = ["full"] }
axum = "0.7.3"
axum = "0.8"
futures-core = "0.3.30"
thiserror = "1.0.52"
log = "0.4.20"
env_logger = "0.10.1"
tokio-util = { version = "0.7.10", features = ["rt"] }
tokio-util = { version = "0.7.10", features = ["rt", "io"] }
futures-macro = "0.3.30"
include_dir = "0.7.3"
mime_guess = "2.0.4"