mirror of
https://github.com/fafhrd91/actix-net
synced 2025-09-01 08:27:17 +02:00
feat: added suport to http
crate 1.0
(#508)
* chore: use same feature * test: add test for new http version added * stylistic review --------- Co-authored-by: Luis Moreno <morenol@users.noreply.github.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@@ -56,7 +56,7 @@ rustls-0_21 = ["tokio-rustls-024", "webpki-roots-025"]
|
||||
native-tls = ["tokio-native-tls"]
|
||||
|
||||
# support http::Uri as connect address
|
||||
uri = ["http"]
|
||||
uri = ["http", "http-1"]
|
||||
|
||||
[dependencies]
|
||||
actix-rt = { version = "2.2", default-features = false }
|
||||
@@ -72,6 +72,7 @@ tracing = { version = "0.1.30", default-features = false, features = ["log"] }
|
||||
|
||||
# uri
|
||||
http = { version = "0.2.3", optional = true }
|
||||
http-1 = { package = "http", version = "1", optional = true }
|
||||
|
||||
# openssl
|
||||
tls-openssl = { package = "openssl", version = "0.10.55", optional = true }
|
||||
|
Reference in New Issue
Block a user