Skip to content

Commit

Permalink
Lower tokio dependency to 1.0
Browse files Browse the repository at this point in the history
We recently bumped the minimum version of tokio to 1.27 owing to a
change in behavior of their Interval API. However, as it turns out we
were actually using the API in an arguably wrong way. That has been
corrected by now and with that change the code works fine on any version
of tokio. To that end, lower the required version of the dependency back
to 1.0.
  • Loading branch information
d-e-s-o committed Jun 26, 2023
1 parent 44b785e commit eafbf5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Unreleased
----------
- Fixed wake ups of potentially wrong task when polling `Wrapper`
objects from different contexts
- Lowered `tokio` dependency back to `1.0`


0.11.1
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ test = []

[dependencies]
futures = {version = "0.3", default-features = false, features = ["async-await", "std"]}
tokio = {version = "1.27", default-features = false, features = ["rt", "time"]}
tokio = {version = "1.0", default-features = false, features = ["rt", "time"]}
tracing = {version = "0.1", default-features = false, features = ["std"]}
tokio-tungstenite = {version = "0.18", default-features = false, features = ["connect"]}

[dev-dependencies]
rand = {version = "0.8", default-features = false, features = ["std", "std_rng"]}
serde = {version = "1.0", features = ["derive"]}
test-log = {version = "0.2.8", default-features = false, features = ["trace"]}
tokio = {version = "1.27", default-features = false, features = ["rt", "macros", "net", "test-util"]}
tokio = {version = "1.0", default-features = false, features = ["rt", "macros", "net", "test-util"]}
tracing-subscriber = {version = "0.3", default-features = false, features = ["ansi", "env-filter", "fmt", "local-time"]}
url = "2.0"

Expand Down

0 comments on commit eafbf5b

Please sign in to comment.