mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Add example showing how to run axum on hyper 1.0 (#1791)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[package]
|
||||
name = "example-hyper-1-0"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
axum = { path = "../../axum" }
|
||||
hyper = { version = "1.0.0-rc.3", features = ["full"] }
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
tower-http = { version = "0.4", features = ["trace"] }
|
||||
tower-hyper-http-body-compat = { version = "0.1", features = ["http1", "server"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
Reference in New Issue
Block a user