diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f7dece9b..319c83cca 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 b79becebf..d8a5ab46e 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"