Repository: nervosnetwork/ckb-system-scripts (language: rust)

Issue:
Bump faster-hex
via discord

> razum2umYesterday at 1:54 PM
> Hi, I'm just looking around and trying to compile & run ckb on arm64 just for fun, and noticed  that ckb-system-scripts fails to compile because it needs this https://github.com/nervosnetwork/faster-hex/pull/9
Should I make a PR to bump this line? https://github.com/nervosnetwork/ckb-system-scripts/blob/master/Cargo.toml#L19


Discussion / hints:

Fix patch:
diff --git a/Cargo.lock b/Cargo.lock
index ef32d13..f23bd62 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -187,7 +187,7 @@ source = "git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5#d75e4c56ffa40
 dependencies = [
  "ckb-fixed-hash 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
  "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
  "secp256k1 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -231,7 +231,7 @@ version = "0.24.0-pre"
 source = "git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5#d75e4c56ffa40e17fd2fe477da3f98c5578edcd1"
 dependencies = [
  "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
@@ -261,7 +261,7 @@ version = "0.24.0-pre"
 source = "git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5#d75e4c56ffa40e17fd2fe477da3f98c5578edcd1"
 dependencies = [
  "ckb-types 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
- "faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "jsonrpc-core 10.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde_derive 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -367,7 +367,7 @@ dependencies = [
  "ckb-types 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
  "ckb-vm 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
- "faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
  "serde_derive 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
@@ -404,7 +404,7 @@ dependencies = [
  "ckb-hash 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
  "ckb-script 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
  "ckb-types 0.24.0-pre (git+https://github.com/nervosnetwork/ckb.git?rev=d75e4c5)",
- "faster-hex 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
  "includedir 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "includedir_codegen 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -674,7 +674,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
 name = "faster-hex"
-version = "0.4.0"
+version = "0.4.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 
 [[package]]
@@ -1107,7 +1107,7 @@ version = "0.4.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 dependencies = [
  "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
- "faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
 ]
 
 [[package]]
@@ -2313,7 +2313,7 @@ dependencies = [
 "checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
 "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
 "checksum faster-hex 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a5b8cccaafb5aae8c282692e5590f341925edea6c696e8715ff0d973320b2646"
-"checksum faster-hex 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ec0ddfd1edbd5feb84f73d3068f7e5edba48b438caee3fb8e9ccb3e58cc70c5a"
+"checksum faster-hex 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "348138dd23e03bb0018caef99647fb1a5befec5ff4b501991de88f09854d4c28"
 "checksum flate2 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)" = "550934ad4808d5d39365e5d61727309bf18b3b02c6c56b729cb92e7dd84bc3d8"
 "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3"
 "checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
diff --git a/Cargo.toml b/Cargo.toml
index 7775e1b..5f2b5ef 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ phf = "0.7.21"
 [build-dependencies]
 includedir_codegen = "0.5.0"
 blake2b-rs = "0.1.5"
-faster-hex = "0.3"
+faster-hex = "0.4.1"
 
 [dev-dependencies]
 byteorder = "1.3.1"
@@ -31,4 +31,4 @@ lazy_static = "1.3.0"
 ripemd160 = "0.8.0"
 sha2 = "0.8.0"
 secp256k1 = { version = "0.15.1" }
-faster-hex = "0.3"
+faster-hex = "0.4.1"


Test patch: