mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 12:41:04 +00:00
Make RocksDB optional in client-db (#2686)
This commit is contained in:
committed by
André Silva
parent
902c9d03f2
commit
3a0c52f2b1
@@ -9,8 +9,8 @@ parking_lot = "0.7.1"
|
||||
log = "0.4"
|
||||
kvdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
||||
# FIXME replace with release as soon as our rocksdb changes are released upstream https://github.com/paritytech/parity-common/issues/88
|
||||
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
||||
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d", optional = true }
|
||||
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d", optional = true }
|
||||
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
||||
lru-cache = "0.1.1"
|
||||
hash-db = { version = "0.12" }
|
||||
primitives = { package = "substrate-primitives", path = "../../primitives" }
|
||||
@@ -24,11 +24,10 @@ trie = { package = "substrate-trie", path = "../../trie" }
|
||||
consensus_common = { package = "substrate-consensus-common", path = "../../consensus/common" }
|
||||
|
||||
[dev-dependencies]
|
||||
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
||||
substrate-keyring = { path = "../../keyring" }
|
||||
test-client = { package = "substrate-test-client", path = "../../test-client" }
|
||||
env_logger = { version = "0.6" }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
test-helpers = ["kvdb-memorydb"]
|
||||
test-helpers = []
|
||||
|
||||
Reference in New Issue
Block a user