]> Untitled Git - bdk/commitdiff
Don't fix tokio minor version
authorLloyd Fournier <LLFourn@users.noreply.github.com>
Tue, 16 Feb 2021 05:31:55 +0000 (16:31 +1100)
committerAlekos Filini <alekos.filini@gmail.com>
Tue, 16 Feb 2021 14:57:54 +0000 (09:57 -0500)
This is also what they give as an example in their docs: https://docs.rs/tokio/1.2.0/tokio/

Cargo.toml

index 27dfc19fb88fe4ee6325e870655ca1312d593514..65f60adfc1cb9ad964b7676f0800b8a0426f9449 100644 (file)
@@ -34,7 +34,7 @@ tiny-bip39 = { version = "^0.8", optional = true }
 
 # Platform-specific dependencies
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-tokio = { version = "1.0", features = ["rt"] }
+tokio = { version = "1", features = ["rt"] }
 
 [target.'cfg(target_arch = "wasm32")'.dependencies]
 async-trait = "0.1"