mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
2c2bba64a0
* Put the DB configuration in an enum
* Allow passing a custom database to client-db
* Clean-ups in client-db
* Fix client tests
* Fix service tests
* Hopefully fix tests for good this time 😩
* Address review
66 lines
2.7 KiB
TOML
66 lines
2.7 KiB
TOML
[package]
|
|
name = "substrate-client"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
derive_more = { version = "0.15.0", optional = true }
|
|
fnv = { version = "1.0.6", optional = true }
|
|
log = { version = "0.4.8", optional = true }
|
|
parking_lot = { version = "0.9.0", optional = true }
|
|
hex-literal = { version = "0.2.1", optional = true }
|
|
futures = { version = "0.1.29", optional = true }
|
|
futures03 = { package = "futures-preview", version = "0.3.0-alpha.19", features = ["compat"], optional = true }
|
|
consensus = { package = "substrate-consensus-common", path = "../consensus/common", optional = true }
|
|
executor = { package = "substrate-executor", path = "../executor", optional = true }
|
|
state-machine = { package = "substrate-state-machine", path = "../state-machine", optional = true }
|
|
keyring = { package = "substrate-keyring", path = "../keyring", optional = true }
|
|
trie = { package = "substrate-trie", path = "../trie", optional = true }
|
|
substrate-telemetry = { path = "../telemetry", optional = true }
|
|
hash-db = { version = "0.15.2", default-features = false }
|
|
kvdb = { git = "https://github.com/paritytech/parity-common", optional = true, rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
primitives = { package = "substrate-primitives", path = "../primitives", default-features = false }
|
|
sr-primitives = { path = "../sr-primitives", default-features = false }
|
|
runtime-version = { package = "sr-version", path = "../sr-version", default-features = false }
|
|
rstd = { package = "sr-std", path = "../sr-std", default-features = false }
|
|
inherents = { package = "substrate-inherents", path = "../inherents", default-features = false }
|
|
sr-api-macros = { path = "../sr-api-macros" }
|
|
header-metadata = { package = "substrate-header-metadata", path = "header-metadata", optional = true }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.7.0"
|
|
tempfile = "3.1.0"
|
|
client-db = { package = "substrate-client-db", path = "./db", features = ["kvdb-rocksdb"] }
|
|
test-client = { package = "substrate-test-runtime-client", path = "../test-runtime/client" }
|
|
kvdb-memorydb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
|
|
panic-handler = { package = "substrate-panic-handler", path = "../panic-handler" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"rstd/std",
|
|
"codec/std",
|
|
"primitives/std",
|
|
"inherents/std",
|
|
"sr-primitives/std",
|
|
"runtime-version/std",
|
|
"hash-db/std",
|
|
"header-metadata",
|
|
"consensus",
|
|
"parking_lot",
|
|
"derive_more",
|
|
"fnv",
|
|
"log",
|
|
"hex-literal",
|
|
"futures",
|
|
"futures03",
|
|
"executor",
|
|
"state-machine",
|
|
"keyring",
|
|
"trie",
|
|
"substrate-telemetry",
|
|
"kvdb"
|
|
]
|