Skip to content

Commit

Permalink
fix(ledger): enable "rt" tokio feature (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Nov 27, 2023
1 parent 2deaea0 commit 490af49
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bip39/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 6 additions & 6 deletions ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,28 @@ 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]
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 = []
Expand Down

0 comments on commit 490af49

Please sign in to comment.