-
Notifications
You must be signed in to change notification settings - Fork 211
/
Cargo.toml
45 lines (40 loc) · 1.27 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "kvdb-rocksdb"
version = "0.16.0"
authors = ["Parity Technologies <admin@parity.io>"]
repository = "https://github.com/paritytech/parity-common"
description = "kvdb implementation backed by RocksDB"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.56.1"
[[bench]]
name = "bench_read_perf"
harness = false
[dependencies]
smallvec = "1.0.0"
kvdb = { path = "../kvdb", version = "0.12" }
log = "0.4.8"
num_cpus = "1.10.1"
parking_lot = "0.12.0"
regex = "1.3.1"
# OpenBSD and MSVC are unteested and shouldn't enable jemalloc:
# https://github.com/tikv/jemallocator/blob/52de4257fab3e770f73d5174c12a095b49572fba/jemalloc-sys/build.rs#L26-L27
[target.'cfg(any(target_os = "openbsd", target_env = "msvc"))'.dependencies.rocksdb]
default-features = false
features = ["snappy"]
version = "0.19.0"
[target.'cfg(not(any(target_os = "openbsd", target_env = "msvc")))'.dependencies.rocksdb]
default-features = false
features = ["snappy", "jemalloc"]
version = "0.19.0"
[dev-dependencies]
alloc_counter = "0.0.4"
criterion = "0.4"
ethereum-types = { path = "../ethereum-types" }
kvdb-shared-tests = { path = "../kvdb-shared-tests", version = "0.10" }
rand = "0.8.0"
tempfile = "3.1.0"
keccak-hash = { path = "../keccak-hash" }
sysinfo = "0.26.0"
ctrlc = "3.1.4"
chrono = "0.4"