Skip to content

Commit

Permalink
Use conditional syntax to specify hyper dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Nov 24, 2023
1 parent 47ac657 commit 2b18634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repository = "https://github.com/tokio-rs/axum"
[features]
default = ["form", "http1", "json", "matched-path", "original-uri", "query", "tokio", "tower-log"]
form = ["dep:serde_urlencoded"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
http1 = ["dep:hyper", "hyper?/http1"]
http2 = ["dep:hyper", "hyper?/http2"]
json = ["dep:serde_json", "dep:serde_path_to_error"]
macros = ["dep:axum-macros"]
matched-path = []
Expand Down

0 comments on commit 2b18634

Please sign in to comment.