upgrade some of the dependencies (#11467)

* bump parity-util-mem and related deps

* upgrade some of the dependencies

* deduplicate static_assertions
This commit is contained in:
Andronik Ordian
2020-02-07 17:23:45 +01:00
committed by GitHub
parent cb7df2053d
commit 654632264b
68 changed files with 314 additions and 493 deletions

View File

@@ -15,7 +15,7 @@ arrayref = "0.3.5"
[dev-dependencies]
criterion = "0.3"
rustc-hex = "2.0.1"
rustc-hex = "2.1.0"
[[bench]]
name = "bench"

View File

@@ -18,11 +18,11 @@ ethabi = "9.0.1"
keccak-hash = "0.4.0"
ethereum-types = "0.8.0"
failure = "0.1"
itertools = "0.7"
itertools = "0.8.2"
lazy_static = "1.1"
regex = "1.0"
validator = "0.8"
validator_derive = "0.8"
lunarity-lexer = "0.2"
rustc-hex = "2.0"
rustc-hex = "2.1.0"
indexmap = "1.0.2"

View File

@@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
ethbloom = "0.8.0"
parking_lot = "0.9"
parking_lot = "0.10.0"
[dev-dependencies]
criterion = "0.3"

View File

@@ -11,7 +11,7 @@ edition = "2018"
fnv = "1.0"
mio = { version = "0.6.19", optional = true }
crossbeam-deque = "0.6"
parking_lot = "0.9"
parking_lot = "0.10.0"
log = "0.4"
slab = "0.4"
num_cpus = "1.8"

View File

@@ -10,16 +10,16 @@ edition = "2018"
parity-bytes = "0.1"
ethereum-types = "0.8.0"
hash-db = "0.15.0"
malloc_size_of = { version = "0.3.0", package = "parity-util-mem" }
parity-util-mem = "0.5.1"
keccak-hasher = { path = "../keccak-hasher" }
kvdb = "0.3.1"
kvdb = "0.4.0"
log = "0.4"
memory-db = "0.18.0"
parking_lot = "0.9"
memory-db = "0.19.0"
parking_lot = "0.10.0"
fastmap = { path = "../../util/fastmap" }
rlp = "0.4.0"
[dev-dependencies]
env_logger = "0.5"
keccak-hash = "0.4.0"
kvdb-memorydb = "0.3.1"
kvdb-memorydb = "0.4.0"

View File

@@ -26,7 +26,7 @@ use ethereum_types::H256;
use hash_db::{HashDB, Prefix};
use keccak_hasher::KeccakHasher;
use kvdb::{KeyValueDB, DBTransaction, DBValue};
use malloc_size_of::MallocSizeOfExt;
use parity_util_mem::MallocSizeOfExt;
use parity_bytes::Bytes;
use rlp::{encode, decode};

View File

@@ -27,7 +27,7 @@ use hash_db::{HashDB, Prefix};
use keccak_hasher::KeccakHasher;
use kvdb::{KeyValueDB, DBTransaction, DBValue};
use log::{trace, warn};
use malloc_size_of::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_util_mem::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_bytes::Bytes;
use parking_lot::RwLock;
use rlp::{encode, decode};

View File

@@ -28,7 +28,7 @@ use hash_db::{HashDB, Prefix, EMPTY_PREFIX};
use keccak_hasher::KeccakHasher;
use kvdb::{KeyValueDB, DBTransaction, DBValue};
use log::trace;
use malloc_size_of::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_util_mem::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_bytes::Bytes;
use parking_lot::RwLock;
use rlp::{Rlp, RlpStream, encode, decode, DecoderError, Decodable, Encodable};

View File

@@ -27,7 +27,7 @@ use hash_db::{HashDB, Prefix, EMPTY_PREFIX};
use keccak_hasher::KeccakHasher;
use kvdb::{KeyValueDB, DBTransaction, DBValue};
use log::trace;
use malloc_size_of::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_util_mem::{MallocSizeOf, allocators::new_malloc_size_ops};
use parity_bytes::Bytes;
use rlp::{encode, decode};

View File

@@ -7,4 +7,4 @@ version = "0.1.1"
authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
parking_lot = "0.9"
parking_lot = "0.10.0"

View File

@@ -6,5 +6,5 @@ description = "An LRU-cache which operates on memory used"
license = "GPL3"
[dependencies]
parity-util-mem = "0.3.0"
parity-util-mem = "0.5.1"
lru-cache = "0.1"

View File

@@ -6,8 +6,8 @@ authors = ["Parity Technologies <admin@parity.io>"]
[dependencies]
log = "0.4"
macros = { path = "../macros" }
kvdb = "0.3.1"
kvdb-rocksdb = "0.4.1"
kvdb = "0.4.0"
kvdb-rocksdb = "0.5.0"
[dev-dependencies]
tempdir = "0.3"

View File

@@ -14,9 +14,9 @@ bytes = "0.4"
rand = "0.7"
tiny-keccak = "1.4"
slab = "0.2"
igd = "0.9"
igd = "0.10.0"
libc = "0.2.7"
parking_lot = "0.9"
parking_lot = "0.10.0"
ansi_term = "0.11"
rustc-hex = "1.0"
ethcore-io = { path = "../io", features = ["mio"] }

View File

@@ -6,7 +6,7 @@ description = "Merkle-Patricia Trie (Ethereum Style)"
license = "GPL-3.0"
[dependencies]
trie-db = "0.18.0"
trie-db = "0.20.0"
keccak-hasher = { version = "0.1.1", path = "../keccak-hasher" }
hash-db = "0.15.0"
rlp = "0.4.4"
@@ -15,7 +15,7 @@ ethereum-types = "0.8.0"
elastic-array = "0.10"
[dev-dependencies]
memory-db = "0.18.0"
memory-db = "0.19.0"
keccak-hash = "0.4.0"
journaldb = { path = "../journaldb" }
criterion = "0.3"

View File

@@ -29,7 +29,7 @@ target_info = "0.1"
[build-dependencies]
vergen = "3.0.4"
rustc_version = "0.2"
toml = "0.4"
toml = "0.5.6"
[features]
final = []