Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
]

[workspace.dependencies]
futures = "0.3.22"
futures = { version = "0.3.22", default-features = false }
futures-core = "0.3.22"
futures-util = { version = "0.3.22", default-features = false }
hdrhistogram = { version = "7.0", default-features = false }
Expand Down
1 change: 0 additions & 1 deletion tower-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ edition = "2018"
http = { workspace = true }
tower-layer = { version = "0.3", path = "../tower-layer" }
tokio = { workspace = true, features = ["macros", "time"] }
futures = { workspace = true }
3 changes: 1 addition & 2 deletions tower-service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ use core::task::{Context, Poll};
/// ```rust
/// use tower_service::Service;
/// use tower_layer::Layer;
/// use futures::FutureExt;
/// use std::future::Future;
/// use std::task::{Context, Poll};
/// use std::time::Duration;
Expand Down Expand Up @@ -332,7 +331,7 @@ pub trait Service<Request> {
/// If the service is at capacity, then `Poll::Pending` is returned and the task
/// is notified when the service becomes ready again. This function is
/// expected to be called while on a task. Generally, this can be done with
/// a simple `futures::future::poll_fn` call.
/// a simple [`core::future::poll_fn`] call.
///
/// If `Poll::Ready(Err(_))` is returned, the service is no longer able to service requests
/// and the caller should discard the service instance.
Expand Down
3 changes: 2 additions & 1 deletion tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ pin-project-lite = { workspace = true, optional = true }
sync_wrapper = { workspace = true, optional = true }

[dev-dependencies]
futures = { workspace = true }
futures = { workspace = true, features = ["std"] }
futures-util = { workspace = true, features = ["async-await-macro"] }
hdrhistogram = { workspace = true }
tokio = { workspace = true, features = ["macros", "sync", "test-util", "rt-multi-thread"] }
tokio-stream = { workspace = true }
Expand Down