diff --git a/Cargo.lock b/Cargo.lock index 14fd4778c639a..c41af9161a265 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3972,7 +3972,7 @@ dependencies = [ "generic-array 0.13.3", "matrixmultiply", "num-complex", - "num-rational", + "num-rational 0.2.4", "num-traits", "rand 0.7.3", "rand_distr", @@ -4494,6 +4494,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-bigint" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-complex" version = "0.2.4" @@ -4521,7 +4532,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" dependencies = [ "autocfg", - "num-bigint", + "num-bigint 0.2.6", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +dependencies = [ + "autocfg", + "num-bigint 0.4.3", "num-integer", "num-traits", ] @@ -7138,8 +7161,8 @@ dependencies = [ "futures-timer 3.0.2", "log", "merlin", - "num-bigint", - "num-rational", + "num-bigint 0.2.6", + "num-rational 0.4.1", "num-traits", "parity-scale-codec", "parking_lot 0.11.1", @@ -8581,7 +8604,7 @@ name = "sp-arithmetic-fuzzer" version = "2.0.0" dependencies = [ "honggfuzz", - "num-bigint", + "num-bigint 0.2.6", "num-traits", "primitive-types", "sp-arithmetic", @@ -10777,7 +10800,7 @@ dependencies = [ "errno", "libc", "memory_units", - "num-rational", + "num-rational 0.2.4", "num-traits", "parity-wasm 0.41.0", "wasmi-validation", diff --git a/client/consensus/babe/Cargo.toml b/client/consensus/babe/Cargo.toml index b04caeb3ee9d7..14c6ea012256a 100644 --- a/client/consensus/babe/Cargo.toml +++ b/client/consensus/babe/Cargo.toml @@ -20,7 +20,7 @@ sp-core = { version = "3.0.0", path = "../../../primitives/core" } sp-application-crypto = { version = "3.0.0", path = "../../../primitives/application-crypto" } sp-keystore = { version = "0.9.0", path = "../../../primitives/keystore" } num-bigint = "0.2.3" -num-rational = "0.2.2" +num-rational = "0.4.1" num-traits = "0.2.8" serde = { version = "1.0.104", features = ["derive"] } sp-version = { version = "3.0.0", path = "../../../primitives/version" }