Skip to content

Commit

Permalink
Update to http 1 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jan 20, 2024
1 parent bea909a commit 04b33e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ base64 = {version = "0.21.2", optional = true}
encoding_rs = {version = "0.8.31", optional = true}
encoding_rs_io = {version = "0.1.7", optional = true}
flate2 = {version = "1.0.24", default-features = false, optional = true}
http = "0.2.8"
http = "1"
log = "0.4.17"
mime = {version = "0.3.16", optional = true}
multipart = {version = "0.18.0", default-features = false, features = ["client"], optional = true}
Expand All @@ -36,6 +36,7 @@ anyhow = "1.0.61"
env_logger = "0.10.0"
futures = "0.3.23"
futures-util = "0.3.23"
http02 = {package = "http", version = "0.2"}
hyper = "0.14.20"
lazy_static = "1.4.0"
multipart = {version = "0.18.0", default-features = false, features = ["server"]}
Expand Down
1 change: 1 addition & 0 deletions tests/test_redirection.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::net::SocketAddr;

use attohttpc::ErrorKind;
use http02 as http;
use tokio_stream::wrappers::TcpListenerStream;
use warp::Filter;

Expand Down
1 change: 1 addition & 0 deletions tests/tools/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::convert::Infallible;
use std::net::SocketAddr;

use futures_util::future::try_join;
use http02 as http;
use hyper::server::conn::AddrIncoming;
use hyper::service::{make_service_fn, service_fn};
use hyper::upgrade::Upgraded;
Expand Down

0 comments on commit 04b33e7

Please sign in to comment.