[go: nahoru, domu]

Skip to content

Commit

Permalink
Reexport http2 feature (seanmonstar#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
In-line committed Jun 8, 2021
1 parent bd59169 commit 316f568
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bytes = "1.0"
futures = { version = "0.3", default-features = false, features = ["alloc"] }
headers = "0.3"
http = "0.2"
hyper = { version = "0.14", features = ["stream", "server", "http1", "http2", "tcp", "client"] }
hyper = { version = "0.14", features = ["stream", "server", "http1", "tcp", "client"] }
log = "0.4"
mime = "0.3"
mime_guess = "2.0.0"
Expand All @@ -31,7 +31,7 @@ scoped-tls = "1.0"
serde = "1.0"
serde_json = "1.0"
serde_urlencoded = "0.7"
tokio = { version = "1.0", features = ["fs", "sync", "time"] }
tokio = { version = "1.0", features = ["fs", "sync", "time", "io-util"] }
tokio-stream = "0.1.1"
tokio-util = { version = "0.6", features = ["io"] }
tracing = { version = "0.1.21", default-features = false, features = ["std"] }
Expand All @@ -47,16 +47,17 @@ tracing-subscriber = "0.2.7"
tracing-log = "0.1"
serde_derive = "1.0"
handlebars = "4.0"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "io-util"] }
tokio-stream = { version = "0.1.1", features = ["net"] }
listenfd = "0.3"

[features]
default = ["multipart", "websocket", "trace-log"]
default = ["multipart", "websocket", "trace-log", "http2"]
websocket = ["tokio-tungstenite"]
tls = ["tokio-rustls"]
compression = ["async-compression"]
trace-log = ["tracing/log"]
http2 = ["hyper/http2"]

[profile.release]
codegen-units = 1
Expand Down

0 comments on commit 316f568

Please sign in to comment.