Skip to content

Commit e08a271

Browse files
authored
chore(dependencies): Force tokio to be at least 0.2.5 (#2186)
Without this, you can end up with tokio 0.2.4 and hyper 0.13.5 in your project, leading to a compile error like this: ``` error[E0599]: no method named `try_recv` found for struct `tokio::sync::mpsc::unbounded::UnboundedReceiver<client::dispatch::Envelope<T, U>>` in the current scope --> src/client/dispatch.rs:161:26 | 161 | match self.inner.try_recv() { | ^^^^^^^^ method not found in `tokio::sync::mpsc::unbounded::UnboundedReceiver<client::dispatch::Envelope<T, U>>` error: aborting due to previous error For more information about this error, try `rustc --explain E0599`. error: could not compile `hyper`. ```
1 parent ffb7597 commit e08a271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ log = "0.4"
3333
pin-project = "0.4"
3434
time = "0.1"
3535
tower-service = "0.3"
36-
tokio = { version = "0.2", features = ["sync"] }
36+
tokio = { version = "0.2.5", features = ["sync"] }
3737
want = "0.3"
3838

3939
# Optional

0 commit comments

Comments
 (0)