From 85e41d60ffb6823da8d6189497ce73166ecaaf78 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:16:00 +0100 Subject: [PATCH] fix(ledger): enable "rt" tokio feature --- bip39/Cargo.toml | 2 +- ledger/Cargo.toml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bip39/Cargo.toml b/bip39/Cargo.toml index 4b70f1ff..91858a5e 100644 --- a/bip39/Cargo.toml +++ b/bip39/Cargo.toml @@ -22,7 +22,7 @@ sha2 = "0.10" thiserror = "1.0" # used by all wordlists -once_cell = { version = "1.17", optional = true } +once_cell = { version = "1.18", optional = true } [dev-dependencies] hex = "0.4" diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index d82c44d7..fb8f7756 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -27,12 +27,12 @@ thiserror = "1.0" # native [target.'cfg(not(target_arch = "wasm32"))'.dependencies] lazy_static = "1.4" -byteorder = "1.4" +byteorder = "1.5" libc = "0.2" matches = "0.1" tracing = "0.1" hidapi-rusb = "1.3" -tokio = { version = "1.28", features = ["sync"] } +tokio = { version = "1.34", features = ["sync", "rt"] } # linux native only [target.'cfg(target_os = "linux")'.dependencies] @@ -40,15 +40,15 @@ nix = "0.26" # WASM [target.'cfg(target_arch = "wasm32")'.dependencies] -wasm-bindgen = "0.2.86" -wasm-bindgen-futures = "0.4.36" -js-sys = "0.3.63" +wasm-bindgen = "0.2.88" +wasm-bindgen-futures = "0.4.38" +js-sys = "0.3.65" log = "0.4" getrandom = { version = "0.2", features = ["js"] } [dev-dependencies] serial_test = "2" -tokio = { version = "1.28", features = ["rt-multi-thread", "macros"] } +tokio = { version = "1.34", features = ["rt-multi-thread", "macros"] } [features] browser = []