mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
stream: bump minimum tokio version to 1.38 (#7887)
tokio-stream 0.1.18 added `Stream::size_hint` for `ReceiverStream` and `UnboundedReceiverStream` (PR #7492), which calls `Receiver::is_closed()` and `Receiver::len()` (added in tokio 1.37.0) and `Receiver::capacity()` and `Receiver::max_capacity()` (added in tokio 1.38.0). The declared minimum of tokio 1.15.0 is no longer sufficient, causing compilation failures when resolved via `-Z direct-minimal-versions`. Refs: #7492
This commit is contained in:
@@ -38,7 +38,7 @@ signal = ["tokio/signal"]
|
||||
[dependencies]
|
||||
futures-core = { version = "0.3.0" }
|
||||
pin-project-lite = "0.2.11"
|
||||
tokio = { version = "1.15.0", path = "../tokio", features = ["sync"] }
|
||||
tokio = { version = "1.38.0", path = "../tokio", features = ["sync"] }
|
||||
tokio-util = { version = "0.7.0", path = "../tokio-util", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
Reference in New Issue
Block a user