From: Steve Myers Date: Thu, 17 Feb 2022 19:37:39 +0000 (-0800) Subject: Pin tokio version to ~1.14 X-Git-Tag: v0.17.0~9^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CodeLengthError.html?a=commitdiff_plain;h=b04bb590f385db349f8dc70cc169674b530c4205;p=bdk Pin tokio version to ~1.14 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f7dece9..319c83cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Pin tokio dependency version to ~1.14 to prevent errors due to their new MSRV 1.49.0 + ## [v0.16.0] - [v0.15.0] - Disable `reqwest` default features. diff --git a/Cargo.toml b/Cargo.toml index b79beceb..d8a5ab46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ bitcoincore-rpc = { version = "0.14", optional = true } # Platform-specific dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tokio = { version = "1", features = ["rt"] } +tokio = { version = "~1.14", features = ["rt"] } [target.'cfg(target_arch = "wasm32")'.dependencies] async-trait = "0.1"