Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit c0eb30b

Browse files
authored
use kvdb-* and parity-snappy crates from crates.io (#9441)
* use kvdb-* and parity-snappy crates from crates.io * update rocksdb-sys and snappy-sys
1 parent caca3a8 commit c0eb30b

File tree

17 files changed

+111
-106
lines changed

17 files changed

+111
-106
lines changed

Cargo.lock

Lines changed: 84 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ dir = { path = "util/dir" }
6262
panic_hook = { path = "util/panic_hook" }
6363
keccak-hash = { git = "https://github.com/paritytech/parity-common" }
6464
migration-rocksdb = { path = "util/migration-rocksdb" }
65-
kvdb = { git = "https://github.com/paritytech/parity-common" }
66-
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common" }
65+
kvdb = "0.1.0"
66+
kvdb-rocksdb = "0.1.3"
6767
journaldb = { path = "util/journaldb" }
6868
mem = { path = "util/mem" }
6969

ethcore/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ rand = "0.4"
5050
rlp = { git = "https://github.com/paritytech/parity-common" }
5151
rlp_compress = { path = "../util/rlp_compress" }
5252
rlp_derive = { path = "../util/rlp_derive" }
53-
kvdb = { git = "https://github.com/paritytech/parity-common" }
54-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
55-
snappy = { git = "https://github.com/paritytech/rust-snappy" }
53+
kvdb = "0.1.0"
54+
kvdb-memorydb = "0.1.0"
55+
parity-snappy = "0.1.0"
5656
stop-guard = { path = "../util/stop-guard" }
5757
macros = { path = "../util/macros" }
5858
rustc-hex = "1.0"
@@ -66,7 +66,7 @@ triehash-ethereum = { version = "0.2", path = "../util/triehash-ethereum" }
6666
unexpected = { path = "../util/unexpected" }
6767
journaldb = { path = "../util/journaldb" }
6868
keccak-hasher = { path = "../util/keccak-hasher" }
69-
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common" }
69+
kvdb-rocksdb = "0.1.3"
7070
tempdir = {version="0.3", optional = true}
7171

7272
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))'.dependencies]

ethcore/light/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ stats = { path = "../../util/stats" }
3535
keccak-hash = { git = "https://github.com/paritytech/parity-common" }
3636
keccak-hasher = { path = "../../util/keccak-hasher" }
3737
triehash-ethereum = { version = "0.2", path = "../../util/triehash-ethereum" }
38-
kvdb = { git = "https://github.com/paritytech/parity-common" }
38+
kvdb = "0.1.0"
3939
memory-cache = { path = "../../util/memory_cache" }
4040
error-chain = { version = "0.12", default-features = false }
4141

4242
[dev-dependencies]
4343
ethcore = { path = "..", features = ["test-helpers"] }
44-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
44+
kvdb-memorydb = "0.1.0"
4545
tempdir = "0.3"
4646

4747
[features]

ethcore/node_filter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ lru-cache = "0.1"
2020

2121
[dev-dependencies]
2222
ethcore = { path = "..", features = ["test-helpers"] }
23-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
23+
kvdb-memorydb = "0.1.0"
2424
ethcore-io = { path = "../../util/io" }
2525
tempdir = "0.3"

ethcore/service/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ ethcore-io = { path = "../../util/io" }
1111
ethcore-private-tx = { path = "../private-tx" }
1212
ethcore-sync = { path = "../sync" }
1313
ethereum-types = "0.3"
14-
kvdb = { git = "https://github.com/paritytech/parity-common" }
14+
kvdb = "0.1.0"
1515
log = "0.4"
1616
stop-guard = { path = "../../util/stop-guard" }
1717
trace-time = { path = "../../util/trace-time" }
1818

1919
[dev-dependencies]
2020
ethcore = { path = "..", features = ["test-helpers"] }
2121
tempdir = "0.3"
22-
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common" }
22+
kvdb-rocksdb = "0.1.3"

ethcore/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ extern crate patricia_trie_ethereum as ethtrie;
100100
extern crate triehash_ethereum as triehash;
101101
extern crate ansi_term;
102102
extern crate unexpected;
103-
extern crate snappy;
103+
extern crate parity_snappy as snappy;
104104
extern crate ethabi;
105105
extern crate rustc_hex;
106106
extern crate stats;

ethcore/sync/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rustc-hex = "1.0"
2424
keccak-hash = { git = "https://github.com/paritytech/parity-common" }
2525
keccak-hasher = { path = "../../util/keccak-hasher" }
2626
triehash-ethereum = {version = "0.2", path = "../../util/triehash-ethereum" }
27-
kvdb = { git = "https://github.com/paritytech/parity-common" }
27+
kvdb = "0.1.0"
2828
macros = { path = "../../util/macros" }
2929
log = "0.4"
3030
env_logger = "0.5"
@@ -39,6 +39,6 @@ ipnetwork = "0.12.6"
3939
[dev-dependencies]
4040
ethcore-io = { path = "../../util/io", features = ["mio"] }
4141
ethkey = { path = "../../ethkey" }
42-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
42+
kvdb-memorydb = "0.1.0"
4343
ethcore-private-tx = { path = "../private-tx" }
4444
ethcore = { path = "..", features = ["test-helpers"] }

local-store/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = ["Parity Technologies <[email protected]>"]
88
ethcore = { path = "../ethcore" }
99
ethcore-io = { path = "../util/io" }
1010
ethcore-transaction = { path = "../ethcore/transaction" }
11-
kvdb = { git = "https://github.com/paritytech/parity-common" }
11+
kvdb = "0.1.0"
1212
log = "0.4"
1313
rlp = { git = "https://github.com/paritytech/parity-common" }
1414
serde = "1.0"
@@ -18,4 +18,4 @@ serde_json = "1.0"
1818
[dev-dependencies]
1919
ethcore = { path = "../ethcore", features = ["test-helpers"] }
2020
ethkey = { path = "../ethkey" }
21-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
21+
kvdb-memorydb = "0.1.0"

rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fake-hardware-wallet = { path = "../util/fake-hardware-wallet" }
7373
ethcore = { path = "../ethcore", features = ["test-helpers"] }
7474
ethcore-network = { path = "../util/network" }
7575
fake-fetch = { path = "../util/fake-fetch" }
76-
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common" }
76+
kvdb-memorydb = "0.1.0"
7777
macros = { path = "../util/macros" }
7878
pretty_assertions = "0.1"
7979
transaction-pool = { path = "../transaction-pool" }

0 commit comments

Comments
 (0)