diff --git a/contract-address/Cargo.toml b/contract-address/Cargo.toml index 83cd3ed13..8b4f05682 100644 --- a/contract-address/Cargo.toml +++ b/contract-address/Cargo.toml @@ -11,7 +11,7 @@ edition = "2018" readme = "README.md" [dependencies] -ethereum-types = { version = "0.8", path = "../ethereum-types" } +ethereum-types = { version = "0.8.0", path = "../ethereum-types" } rlp = { version = "0.4", path = "../rlp" } keccak-hash = { version = "0.4", path = "../keccak-hash", default-features = false } diff --git a/ethbloom/Cargo.toml b/ethbloom/Cargo.toml index 829e2ac73..b65c88813 100644 --- a/ethbloom/Cargo.toml +++ b/ethbloom/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ethbloom" -version = "0.8.0" +version = "0.8.1" authors = ["Parity Technologies "] description = "Ethereum bloom filter" license = "MIT" @@ -10,16 +10,16 @@ repository = "https://github.com/paritytech/parity-common" edition = "2018" [dependencies] -tiny-keccak = "1.5" -crunchy = { version = "0.2", default-features = false, features = ["limit_256"] } +tiny-keccak = "1.5.0" +crunchy = { version = "0.2.2", default-features = false, features = ["limit_256"] } fixed-hash = { path = "../fixed-hash", version = "0.5", default-features = false } impl-serde = { path = "../primitive-types/impls/serde", version = "0.2", default-features = false, optional = true } impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.2", default-features = false } [dev-dependencies] -criterion = "0.3" -rand = "0.7" -hex-literal = "0.2" +criterion = "0.3.0" +rand = "0.7.2" +hex-literal = "0.2.1" [features] default = ["std", "serialize", "libc", "rustc-hex"] diff --git a/ethereum-types/Cargo.toml b/ethereum-types/Cargo.toml index ae5550d23..eb1a85e20 100644 --- a/ethereum-types/Cargo.toml +++ b/ethereum-types/Cargo.toml @@ -16,7 +16,7 @@ impl-serde = { path = "../primitive-types/impls/serde", version = "0.2", default impl-rlp = { path = "../primitive-types/impls/rlp", version = "0.2", default-features = false } [dev-dependencies] -serde_json = "1.0" +serde_json = "1.0.41" [features] default = ["std", "serialize"] diff --git a/fixed-hash/Cargo.toml b/fixed-hash/Cargo.toml index e494fedd2..8e1bcfb16 100644 --- a/fixed-hash/Cargo.toml +++ b/fixed-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fixed-hash" -version = "0.5.0" +version = "0.5.1" authors = ["Parity Technologies "] license = "MIT" homepage = "https://github.com/paritytech/parity-common" @@ -14,17 +14,17 @@ edition = "2018" features = ["quickcheck", "api-dummy"] [dependencies] -rand = { version = "0.7", optional = true, default-features = false } -rustc-hex = { version = "2.0", optional = true, default-features = false } -quickcheck = { version = "0.9", optional = true } -byteorder = { version = "1.2", optional = true, default-features = false } +byteorder = { version = "1.3.2", optional = true, default-features = false } +quickcheck = { version = "0.9.0", optional = true } +rand = { version = "0.7.2", optional = true, default-features = false } +rustc-hex = { version = "2.0.1", optional = true, default-features = false } static_assertions = "1.0.0" [dev-dependencies] rand_xorshift = "0.2.0" [target.'cfg(not(target_os = "unknown"))'.dependencies] -libc = { version = "0.2", optional = true, default-features = false } +libc = { version = "0.2.65", optional = true, default-features = false } [features] default = ["std", "libc", "rand", "rustc-hex", "byteorder"] diff --git a/keccak-hash/Cargo.toml b/keccak-hash/Cargo.toml index 365ea5805..d90da7964 100644 --- a/keccak-hash/Cargo.toml +++ b/keccak-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "keccak-hash" -version = "0.4.0" +version = "0.4.1" description = "`keccak-hash` is a set of utility functions to facilitate working with Keccak hashes (256/512 bits long)." authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" @@ -9,11 +9,11 @@ license = "GPL-3.0" edition = "2018" [dependencies] -tiny-keccak = "1.4" +tiny-keccak = "1.5.0" primitive-types = { path = "../primitive-types", version = "0.6", default-features = false } [dev-dependencies] -tempdir = "0.3" +tempdir = "0.3.7" [features] default = ["std"] diff --git a/kvdb-memorydb/Cargo.toml b/kvdb-memorydb/Cargo.toml index 22312e8c0..4ee909d4a 100644 --- a/kvdb-memorydb/Cargo.toml +++ b/kvdb-memorydb/Cargo.toml @@ -8,5 +8,5 @@ license = "GPL-3.0" edition = "2018" [dependencies] -parking_lot = "0.9" +parking_lot = "0.9.0" kvdb = { version = "0.1", path = "../kvdb" } diff --git a/kvdb-rocksdb/Cargo.toml b/kvdb-rocksdb/Cargo.toml index 76b2ed9ea..cda3cc24b 100644 --- a/kvdb-rocksdb/Cargo.toml +++ b/kvdb-rocksdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb-rocksdb" -version = "0.1.5" +version = "0.1.6" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "kvdb implementation backed by rocksDB" @@ -8,16 +8,16 @@ license = "GPL-3.0" edition = "2018" [dependencies] -elastic-array = "0.10" +elastic-array = "0.10.2" fs-swap = "0.2.4" -interleaved-ordered = "0.1.0" +interleaved-ordered = "0.1.1" kvdb = { version = "0.1", path = "../kvdb" } -log = "0.4" -num_cpus = "1.10" -parking_lot = "0.9" -regex = "1.3" -parity-rocksdb = "0.5" +log = "0.4.8" +num_cpus = "1.10.1" +parking_lot = "0.9.0" +regex = "1.3.1" +parity-rocksdb = "0.5.1" [dev-dependencies] -tempdir = "0.3" -ethereum-types = { version = "0.8", path = "../ethereum-types" } +tempdir = "0.3.7" +ethereum-types = { version = "0.8.0", path = "../ethereum-types" } diff --git a/kvdb-web/Cargo.toml b/kvdb-web/Cargo.toml index 0774f586d..aaf237da8 100644 --- a/kvdb-web/Cargo.toml +++ b/kvdb-web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb-web" -version = "0.1.0" +version = "0.1.1" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "A key-value database for use in browsers" @@ -9,16 +9,16 @@ license = "GPL-3.0" edition = "2018" [dependencies] -wasm-bindgen = "0.2.49" -js-sys = "0.3.26" +wasm-bindgen = "0.2.51" +js-sys = "0.3.28" kvdb = { version = "0.1", path = "../kvdb" } kvdb-memorydb = { version = "0.1", path = "../kvdb-memorydb" } -futures-preview = "0.3.0-alpha.18" +futures-preview = "0.3.0-alpha.19" log = "0.4.8" -send_wrapper = "0.2.0" +send_wrapper = "0.3.0" [dependencies.web-sys] -version = "0.3.26" +version = "0.3.28" features = [ 'console', 'Window', @@ -38,6 +38,6 @@ features = [ [dev-dependencies] wasm-bindgen-test = "0.2.49" -futures-preview = { version = "0.3.0-alpha.18", features = ['compat'] } +futures-preview = { version = "0.3.0-alpha.19", features = ['compat'] } futures01 = { package = "futures", version = "0.1" } console_log = "0.1.2" diff --git a/kvdb/Cargo.toml b/kvdb/Cargo.toml index e0306dfe2..db7badb98 100644 --- a/kvdb/Cargo.toml +++ b/kvdb/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kvdb" -version = "0.1.0" +version = "0.1.1" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Generic key-value trait" @@ -8,5 +8,5 @@ license = "GPL-3.0" edition = "2018" [dependencies] -elastic-array = "0.10" +elastic-array = "0.10.2" bytes = { package = "parity-bytes", version = "0.1", path = "../parity-bytes" } diff --git a/parity-bytes/Cargo.toml b/parity-bytes/Cargo.toml index 38be22ced..e49adce31 100644 --- a/parity-bytes/Cargo.toml +++ b/parity-bytes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-bytes" -version = "0.1.0" +version = "0.1.1" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "byte utilities for Parity" diff --git a/parity-crypto/Cargo.toml b/parity-crypto/Cargo.toml index a4f61c5fe..c91abd777 100644 --- a/parity-crypto/Cargo.toml +++ b/parity-crypto/Cargo.toml @@ -14,30 +14,30 @@ harness = false required-features = ["publickey"] [dependencies] -tiny-keccak = "1.4" +tiny-keccak = "1.5.0" +scrypt = { version = "0.2.0", default-features = false } parity-secp256k1 = { version = "0.7.0", optional = true } ethereum-types = { version = "0.8.0", optional = true } lazy_static = { version = "1.0", optional = true } -scrypt = { version = "0.2", default-features = false } ripemd160 = "0.8.0" sha2 = "0.8.0" -digest = "0.8" -hmac = "0.7" +digest = "0.8.1" +hmac = "0.7.1" aes = "0.3.2" aes-ctr = "0.3.0" block-modes = "0.3.3" pbkdf2 = "0.3.0" +subtle = "2.2.1" +zeroize = { version = "1.0.0", default-features = false } rand = "0.7.2" rustc-hex = "2.0" -subtle = "2.1" -zeroize = "0.9.1" [dev-dependencies] -criterion = "0.2" -hex-literal = "0.2" +criterion = "0.3.0" +hex-literal = "0.2.1" [features] default = [] # public key crypto utils # moved from ethkey module in parity ethereum repository -publickey = ["parity-secp256k1", "lazy_static", "ethereum-types"] \ No newline at end of file +publickey = ["parity-secp256k1", "lazy_static", "ethereum-types"] diff --git a/parity-path/Cargo.toml b/parity-path/Cargo.toml index b19b176c4..a4096fa73 100644 --- a/parity-path/Cargo.toml +++ b/parity-path/Cargo.toml @@ -8,4 +8,4 @@ license = "GPL-3.0" edition = "2018" [dependencies] -home = "0.5" +home = "0.5.1" diff --git a/parity-util-mem/Cargo.toml b/parity-util-mem/Cargo.toml index a73d23c0a..cf3dab6f5 100644 --- a/parity-util-mem/Cargo.toml +++ b/parity-util-mem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-util-mem" -version = "0.2.0" +version = "0.2.1" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" description = "Collection of memory related utilities" @@ -8,27 +8,27 @@ license = "GPL-3.0" edition = "2018" [dependencies] -cfg-if = "0.1.6" -malloc_size_of_derive = "0.1.0" -dlmalloc = { version = "0.1", features = ["global"], optional = true } -wee_alloc = { version = "0.4", optional = true } +cfg-if = "0.1.10" +malloc_size_of_derive = "0.1.1" +dlmalloc = { version = "0.1.3", features = ["global"], optional = true } +wee_alloc = { version = "0.4.5", optional = true } # from https://github.com/microsoft/mimalloc: # mimalloc can be built in secure mode, # adding guard pages, randomized allocation, encrypted free lists, etc. # to protect against various heap vulnerabilities. # The performance penalty is only around 3% on average over our benchmarks. -mimallocator = { version = "0.1", features = ["secure"], optional = true } -mimalloc-sys = { version = "0.1", optional = true } +mimallocator = { version = "0.1.3", features = ["secure"], optional = true } +mimalloc-sys = { version = "0.1.6", optional = true } -elastic-array = { version = "0", optional = true } -ethereum-types = { version = "0", optional = true } -parking_lot = { version = "0", optional = true } +elastic-array = { version = "0.10.2", optional = true } +ethereum-types = { version = "0.8.0", optional = true, path = "../ethereum-types" } +parking_lot = { version = "0.9.0", optional = true } -[target.'cfg(target_os = "windows")'.dependencies.winapi] -version = "0.3.4" +[target.'cfg(target_os = "windows")'.dependencies] +winapi = "0.3.8" [target.'cfg(not(target_os = "windows"))'.dependencies.jemallocator] -version = "0.1" +version = "0.3.2" optional = true [features] diff --git a/plain_hasher/Cargo.toml b/plain_hasher/Cargo.toml index 2228b4a91..2a7f94989 100644 --- a/plain_hasher/Cargo.toml +++ b/plain_hasher/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "plain_hasher" description = "Hasher for 32-byte keys." -version = "0.2.1" +version = "0.2.2" authors = ["Parity Technologies "] license = "MIT" keywords = ["hash", "hasher"] @@ -10,10 +10,10 @@ categories = ["no-std"] edition = "2018" [dependencies] -crunchy = { version = "0.2", default-features = false } +crunchy = { version = "0.2.2", default-features = false } [dev-dependencies] -criterion = "0.3" +criterion = "0.3.0" [features] default = ["std"] diff --git a/primitive-types/Cargo.toml b/primitive-types/Cargo.toml index a73b00644..46fa7317e 100644 --- a/primitive-types/Cargo.toml +++ b/primitive-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "primitive-types" -version = "0.6.0" +version = "0.6.1" authors = ["Parity Technologies "] license = "Apache-2.0/MIT" homepage = "https://github.com/paritytech/parity-common" @@ -8,7 +8,7 @@ description = "Primitive types shared by Ethereum and Substrate" [dependencies] fixed-hash = { version = "0.5", path = "../fixed-hash", default-features = false } -uint = { version = "0.8", path = "../uint", default-features = false } +uint = { version = "0.8.1", path = "../uint", default-features = false } impl-serde = { version = "0.2.1", path = "impls/serde", default-features = false, optional = true } impl-codec = { version = "0.4.1", path = "impls/codec", default-features = false, optional = true } impl-rlp = { version = "0.2", path = "impls/rlp", default-features = false, optional = true } diff --git a/primitive-types/impls/codec/Cargo.toml b/primitive-types/impls/codec/Cargo.toml index cc35994f1..d4527aa48 100644 --- a/primitive-types/impls/codec/Cargo.toml +++ b/primitive-types/impls/codec/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "impl-codec" -version = "0.4.1" +version = "0.4.2" authors = ["Parity Technologies "] license = "Apache-2.0/MIT" homepage = "https://github.com/paritytech/parity-common" description = "Parity Codec serialization support for uint and fixed hash." [dependencies] -parity-scale-codec = { version = "1.0.3", default-features = false } +parity-scale-codec = { version = "1.0.6", default-features = false } [features] default = ["std"] diff --git a/primitive-types/impls/serde/Cargo.toml b/primitive-types/impls/serde/Cargo.toml index 8f2048c9f..0e2342f34 100644 --- a/primitive-types/impls/serde/Cargo.toml +++ b/primitive-types/impls/serde/Cargo.toml @@ -8,12 +8,12 @@ homepage = "https://github.com/paritytech/parity-common" description = "Serde serialization support for uint and fixed hash." [dependencies] -serde = "1.0" +serde = "1.0.101" [dev-dependencies] criterion = "0.3.0" -serde_derive = "1.0" -serde_json = "1.0" +serde_derive = "1.0.101" +serde_json = "1.0.41" uint = "0.8.1" [[bench]] diff --git a/rlp/Cargo.toml b/rlp/Cargo.toml index 83900e213..0fd6e9b5b 100644 --- a/rlp/Cargo.toml +++ b/rlp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rlp" -version = "0.4.2" +version = "0.4.3" description = "Recursive-length prefix encoding, decoding, and compression" repository = "https://github.com/paritytech/parity-common" license = "MIT/Apache-2.0" @@ -8,11 +8,11 @@ authors = ["Parity Technologies "] edition = "2018" [dependencies] -rustc-hex = { version = "2.0", default-features = false } +rustc-hex = { version = "2.0.1", default-features = false } [dev-dependencies] -criterion = "0.3" -hex-literal = "0.2" +criterion = "0.3.0" +hex-literal = "0.2.1" primitive-types = { path = "../primitive-types", version = "0.6", features = ["impl-rlp"] } [features] diff --git a/trace-time/Cargo.toml b/trace-time/Cargo.toml index 5dad32a52..f1ec6e9a1 100644 --- a/trace-time/Cargo.toml +++ b/trace-time/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "trace-time" description = "Easily trace time to execute a scope." -version = "0.1.1" +version = "0.1.2" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" license = "GPL-3.0" edition = "2018" [dependencies] -log = "0.4" +log = "0.4.8" diff --git a/transaction-pool/Cargo.toml b/transaction-pool/Cargo.toml index fb442756c..844607efa 100644 --- a/transaction-pool/Cargo.toml +++ b/transaction-pool/Cargo.toml @@ -1,16 +1,16 @@ [package] description = "Generic transaction pool." name = "transaction-pool" -version = "2.0.1" +version = "2.0.2" license = "GPL-3.0" authors = ["Parity Technologies "] repository = "https://github.com/paritytech/parity-common" edition = "2018" [dependencies] -log = "0.4" -smallvec = "0.6" +log = "0.4.8" +smallvec = "0.6.10" trace-time = { path = "../trace-time", version = "0.1" } [dev-dependencies] -ethereum-types = { version = "0.8", path = "../ethereum-types" } +ethereum-types = { version = "0.8.0", path = "../ethereum-types" } diff --git a/triehash/Cargo.toml b/triehash/Cargo.toml index ff2133d13..6342f7d03 100644 --- a/triehash/Cargo.toml +++ b/triehash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "triehash" -version = "0.8.0" +version = "0.8.1" authors = ["Parity Technologies "] description = "In-memory patricia trie operations" repository = "https://github.com/paritytech/parity-common" @@ -8,16 +8,16 @@ license = "GPL-3.0" edition = "2018" [dependencies] -hash-db = "0.15" +hash-db = "0.15.2" rlp = { version = "0.4", path = "../rlp" } [dev-dependencies] -criterion = "0.3" -keccak-hasher = "0.15" -ethereum-types = { version = "0.8", path = "../ethereum-types" } -tiny-keccak = "1.5" -trie-standardmap = "0.15" -hex-literal = "0.2" +criterion = "0.3.0" +keccak-hasher = "0.15.2" +ethereum-types = { version = "0.8.0", path = "../ethereum-types" } +tiny-keccak = "1.5.0" +trie-standardmap = "0.15.2" +hex-literal = "0.2.1" [[bench]] name = "triehash" diff --git a/uint/Cargo.toml b/uint/Cargo.toml index cf6a88d03..3a61567a6 100644 --- a/uint/Cargo.toml +++ b/uint/Cargo.toml @@ -4,21 +4,23 @@ homepage = "http://parity.io" repository = "https://github.com/paritytech/parity-common" license = "MIT/Apache-2.0" name = "uint" -version = "0.8.1" +version = "0.8.2" authors = ["Parity Technologies "] readme = "README.md" edition = "2018" [dependencies] -byteorder = { version = "1", default-features = false } -rustc-hex = { version = "2.0", default-features = false } -quickcheck = { version = "0.6", optional = true } -crunchy = { version = "0.2", default-features = true } +byteorder = { version = "1.3.2", default-features = false } +crunchy = { version = "0.2.2", default-features = false } +qc = { package = "quickcheck", version = "0.9.0", optional = true } +rand = { version = "0.7.2", default-features = false, optional = true } +rustc-hex = { version = "2.0.1", default-features = false } static_assertions = "1.0.0" [features] default = ["std"] std = ["byteorder/std", "rustc-hex/std", "crunchy/std"] +quickcheck = ["qc", "rand"] [[example]] name = "modular" @@ -28,11 +30,11 @@ name = "uint_tests" required-features = ["std"] [dev-dependencies] -criterion = "0.2.11" -num-bigint = "0.2" +criterion = "0.3.0" +num-bigint = "0.2.3" [target.'cfg(unix)'.dev-dependencies] -rug = { version = "1.4", default-features = false, features = ["integer"] } +rug = { version = "1.6.0", default-features = false, features = ["integer"] } [[bench]] name = "bigint" diff --git a/uint/src/lib.rs b/uint/src/lib.rs index 1ef540d85..e72c32d5f 100644 --- a/uint/src/lib.rs +++ b/uint/src/lib.rs @@ -23,7 +23,11 @@ pub use rustc_hex; #[cfg(feature="quickcheck")] #[doc(hidden)] -pub use quickcheck; +pub use qc; + +#[cfg(feature="quickcheck")] +#[doc(hidden)] +pub use rand; #[doc(hidden)] pub use static_assertions; diff --git a/uint/src/uint.rs b/uint/src/uint.rs index 49dfcf07f..274cc529c 100644 --- a/uint/src/uint.rs +++ b/uint/src/uint.rs @@ -1576,11 +1576,12 @@ macro_rules! impl_std_for_uint { #[doc(hidden)] macro_rules! impl_quickcheck_arbitrary_for_uint { ($uint: ty, $n_bytes: tt) => { - impl $crate::quickcheck::Arbitrary for $uint { - fn arbitrary(g: &mut G) -> Self { + impl $crate::qc::Arbitrary for $uint { + fn arbitrary(g: &mut G) -> Self { let mut res = [0u8; $n_bytes]; - let p = g.next_f64(); + use $crate::rand::Rng; + let p: f64 = $crate::rand::rngs::OsRng.gen(); // make it more likely to generate smaller numbers that // don't use up the full $n_bytes let range = diff --git a/uint/tests/uint_tests.rs b/uint/tests/uint_tests.rs index 7f36b6a65..0dedc0723 100644 --- a/uint/tests/uint_tests.rs +++ b/uint/tests/uint_tests.rs @@ -1102,7 +1102,7 @@ pub mod laws { macro_rules! uint_laws { ($mod_name:ident, $uint_ty:ident) => { mod $mod_name { - use quickcheck::{TestResult, quickcheck}; + use qc::{TestResult, quickcheck}; use super::$uint_ty; quickcheck! {