sc-cli: replace bip39 with tiny-bip39 (#7551)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2020-11-19 03:43:41 +08:00
committed by GitHub
parent 1eae9f5792
commit 1b62b5dc59
2 changed files with 14 additions and 87 deletions
+13 -86
View File
@@ -239,7 +239,7 @@ dependencies = [
"concurrent-queue",
"fastrand",
"futures-lite",
"once_cell 1.4.1",
"once_cell",
"vec-arena",
]
@@ -253,7 +253,7 @@ dependencies = [
"async-io",
"futures-lite",
"num_cpus",
"once_cell 1.4.1",
"once_cell",
]
[[package]]
@@ -268,7 +268,7 @@ dependencies = [
"futures-lite",
"libc",
"log",
"once_cell 1.4.1",
"once_cell",
"parking",
"polling",
"socket2",
@@ -307,7 +307,7 @@ dependencies = [
"log",
"memchr",
"num_cpus",
"once_cell 1.4.1",
"once_cell",
"pin-project-lite",
"pin-utils",
"slab",
@@ -454,21 +454,6 @@ dependencies = [
"which",
]
[[package]]
name = "bip39"
version = "0.6.0-beta.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7059804e226b3ac116519a252d7f5fb985a5ccc0e93255e036a5f7e7283323f4"
dependencies = [
"failure",
"hashbrown 0.1.8",
"hmac 0.7.1",
"once_cell 0.1.8",
"pbkdf2 0.3.0",
"rand 0.6.5",
"sha2 0.8.2",
]
[[package]]
name = "bitflags"
version = "1.2.1"
@@ -596,7 +581,7 @@ dependencies = [
"atomic-waker",
"fastrand",
"futures-lite",
"once_cell 1.4.1",
"once_cell",
]
[[package]]
@@ -1061,7 +1046,7 @@ dependencies = [
"lazy_static",
"maybe-uninit",
"memoffset",
"scopeguard 1.1.0",
"scopeguard",
]
[[package]]
@@ -1688,7 +1673,7 @@ dependencies = [
"frame-system",
"impl-trait-for-tuples",
"log",
"once_cell 1.4.1",
"once_cell",
"parity-scale-codec",
"parity-util-mem",
"paste 0.1.18",
@@ -1967,7 +1952,7 @@ version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdb66b5f09e22019b1ab0830f7785bcea8e7a42148683f99214f73f8ec21a626"
dependencies = [
"once_cell 1.4.1",
"once_cell",
]
[[package]]
@@ -2197,16 +2182,6 @@ dependencies = [
"crunchy",
]
[[package]]
name = "hashbrown"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da"
dependencies = [
"byteorder",
"scopeguard 0.3.3",
]
[[package]]
name = "hashbrown"
version = "0.6.3"
@@ -3363,22 +3338,13 @@ dependencies = [
"paste 0.1.18",
]
[[package]]
name = "lock_api"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c"
dependencies = [
"scopeguard 0.3.3",
]
[[package]]
name = "lock_api"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75"
dependencies = [
"scopeguard 1.1.0",
"scopeguard",
]
[[package]]
@@ -3387,7 +3353,7 @@ version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
dependencies = [
"scopeguard 1.1.0",
"scopeguard",
]
[[package]]
@@ -4250,15 +4216,6 @@ dependencies = [
"wasmparser 0.57.0",
]
[[package]]
name = "once_cell"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "532c29a261168a45ce28948f9537ddd7a5dd272cc513b3017b1e82a88f962c37"
dependencies = [
"parking_lot 0.7.1",
]
[[package]]
name = "once_cell"
version = "1.4.1"
@@ -5334,16 +5291,6 @@ version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "427c3892f9e783d91cc128285287e70a59e206ca452770ece88a76f7a3eddd72"
[[package]]
name = "parking_lot"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337"
dependencies = [
"lock_api 0.1.5",
"parking_lot_core 0.4.0",
]
[[package]]
name = "parking_lot"
version = "0.9.0"
@@ -5376,19 +5323,6 @@ dependencies = [
"parking_lot_core 0.8.0",
]
[[package]]
name = "parking_lot_core"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9"
dependencies = [
"libc",
"rand 0.6.5",
"rustc_version",
"smallvec 0.6.13",
"winapi 0.3.9",
]
[[package]]
name = "parking_lot_core"
version = "0.6.2"
@@ -5466,7 +5400,6 @@ checksum = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9"
dependencies = [
"byteorder",
"crypto-mac 0.7.0",
"rayon",
]
[[package]]
@@ -6269,7 +6202,7 @@ checksum = "952cd6b98c85bbc30efa1ba5783b8abf12fec8b3287ffa52605b9432313e34e4"
dependencies = [
"cc",
"libc",
"once_cell 1.4.1",
"once_cell",
"spin",
"untrusted",
"web-sys",
@@ -6547,7 +6480,6 @@ version = "0.8.0"
dependencies = [
"ansi_term 0.12.1",
"atty",
"bip39",
"chrono",
"fdlimit",
"futures 0.3.5",
@@ -6580,6 +6512,7 @@ dependencies = [
"structopt",
"tempfile",
"thiserror",
"tiny-bip39",
"tokio 0.2.22",
"tracing",
"tracing-log",
@@ -7647,12 +7580,6 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
[[package]]
name = "scopeguard"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
[[package]]
name = "scopeguard"
version = "1.1.0"
@@ -9329,7 +9256,7 @@ checksum = "d9e44c4759bae7f1032e286a7ef990bd9ed23fe831b7eeba0beb97484c2e59b8"
dependencies = [
"anyhow",
"hmac 0.8.1",
"once_cell 1.4.1",
"once_cell",
"pbkdf2 0.4.0",
"rand 0.7.3",
"rustc-hash",
+1 -1
View File
@@ -25,7 +25,7 @@ libp2p = "0.30.1"
parity-scale-codec = "1.3.0"
hex = "0.4.2"
rand = "0.7.3"
bip39 = "0.6.0-beta.1"
tiny-bip39 = "0.8.0"
serde_json = "1.0.41"
sc-keystore = { version = "2.0.0", path = "../keystore" }
sp-panic-handler = { version = "2.0.0", path = "../../primitives/panic-handler" }