From e3eeffc925a1ca9963f55b1bf15b8b6bb331fdc6 Mon Sep 17 00:00:00 2001 From: Jonathan LEI Date: Mon, 29 Jul 2024 21:40:50 +0800 Subject: [PATCH] chore: use `coins-ledger` from crates.io A new version `0.12.0` has been released with the necessary patch. --- Cargo.lock | 5 +++-- starknet-signers/Cargo.toml | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1e87047..7841ce2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,8 +346,9 @@ dependencies = [ [[package]] name = "coins-ledger" -version = "0.11.1" -source = "git+https://github.com/xJonathanLEI/coins?rev=0e3be5db0b18b683433de6b666556b99c726e785#0e3be5db0b18b683433de6b666556b99c726e785" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab9bc0994d0aa0f4ade5f3a9baf4a8d936f250278c85a1124b401860454246ab" dependencies = [ "async-trait", "byteorder", diff --git a/starknet-signers/Cargo.toml b/starknet-signers/Cargo.toml index f608b25f..a51bb688 100644 --- a/starknet-signers/Cargo.toml +++ b/starknet-signers/Cargo.toml @@ -21,11 +21,9 @@ thiserror = "1.0.40" crypto-bigint = { version = "0.5.1", default-features = false } rand = { version = "0.8.5", features = ["std_rng"] } coins-bip32 = { version = "0.11.1", optional = true } +coins-ledger = { version = "0.12.0", default-features = false, optional = true } semver = { version = "1.0.23", optional = true } -# Using a fork until https://github.com/summa-tx/coins/issues/137 is fixed -coins-ledger = { git = "https://github.com/xJonathanLEI/coins", rev = "0e3be5db0b18b683433de6b666556b99c726e785", default-features = false, optional = true } - [target.'cfg(not(target_arch = "wasm32"))'.dependencies] eth-keystore = { version = "0.5.0", default-features = false }