-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (47 loc) · 1.41 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
46
47
48
49
50
51
52
[package]
name = "engine_rocks"
version = "0.0.1"
edition = "2018"
publish = false
[features]
protobuf-codec = [
"keys/protobuf-codec",
"txn_types/protobuf-codec",
]
prost-codec = [
"keys/prost-codec",
"txn_types/prost-codec",
]
jemalloc = ["rocksdb/jemalloc"]
portable = ["rocksdb/portable"]
sse = ["rocksdb/sse"]
[dependencies]
encryption = { path = "../encryption" }
engine_traits = { path = "../engine_traits" }
hex = "0.4"
keys = { path = "../keys" }
num_cpus = "1"
prometheus = { version = "0.8", features = ["nightly", "push"] }
slog = { version = "2.3", features = ["max_level_trace", "release_max_level_debug"] }
slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "0e23a5baff302a9d7bccd85f8f31e43339c2f2c1" }
tikv_alloc = { path = "../tikv_alloc" }
tikv_util = { path = "../tikv_util" }
txn_types = { path = "../txn_types"}
lazy_static = "1.4.0"
time = "0.1"
configuration = { path = "../configuration" }
serde = "1.0"
serde_derive = "1.0"
coarsetime = "0.1"
[dependencies.rocksdb]
git = "https://github.com/tikv/rust-rocksdb.git"
package = "rocksdb"
features = ["encryption", "static_libcpp"]
[dependencies.prometheus-static-metric]
git = "https://github.com/tikv/rust-prometheus.git"
rev = "fd122caa03de8e7e5e4fae9372583aebf19e39f6"
[dev-dependencies]
kvproto = { git = "https://github.com/pingcap/kvproto.git", default-features = false }
tempfile = "3.0"
rand = "0.7"
toml = "0.4"