Skip to content

Commit

Permalink
Move futures-util crate to dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Aug 28, 2024
1 parent 04ce192 commit bf4a71a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ tls-openssl = ["arc-swap", "openssl", "tokio-openssl", "dep:pin-project-lite"]

[dependencies]
bytes = "1"
futures-util = { version = "0.3", default-features = false, features = [
"alloc",
] }
http = "1.1"
http-body = "1.0"
hyper = { version = "1.4", features = ["http1", "http2", "server"] }
Expand All @@ -47,6 +44,7 @@ pin-project-lite = { version = "0.2", optional = true }

[dev-dependencies]
serial_test = "3.1"
futures-util = { version = "0.3", default-features = false }
http-body-util = "0.1"
axum = "0.7"
hyper = { version = "1.4", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use crate::{
handle::Handle,
service::{MakeService, SendService},
};
use futures_util::future::poll_fn;
use http::Request;
use hyper::body::Incoming;
use hyper_util::{
Expand All @@ -13,6 +12,7 @@ use hyper_util::{
};
use std::{
fmt,
future::poll_fn,
io::{self, ErrorKind},
net::SocketAddr,
time::Duration,
Expand Down

0 comments on commit bf4a71a

Please sign in to comment.