]> 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)
committerGitHub <noreply@github.com>
Tue, 16 Feb 2021 05:31:55 +0000 (16:31 +1100)
This is also what they give as an example in their docs: https://docs.rs/tokio/1.2.0/tokio/

Cargo.toml

index 5abcc0f0b1c1f7e0f6deffd99a0bcd7fab9987bf..798aa871515a77e3e97013d7583207b350294c39 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"