-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
94 lines (89 loc) · 2.96 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "raftstore"
version = "0.0.1"
authors = ["The TiKV Authors"]
license = "Apache-2.0"
edition = "2018"
publish = false
[features]
failpoints = ["fail/failpoints"]
prost-codec = [
"prost",
"engine_rocks/prost-codec",
"into_other/prost-codec",
"keys/prost-codec",
"kvproto/prost-codec",
"raft/prost-codec",
"pd_client/prost-codec",
"sst_importer/prost-codec",
"tidb_query_datatype/prost-codec",
"txn_types/prost-codec",
]
protobuf-codec = [
"engine_rocks/protobuf-codec",
"into_other/protobuf-codec",
"keys/protobuf-codec",
"kvproto/protobuf-codec",
"raft/protobuf-codec",
"pd_client/protobuf-codec",
"sst_importer/protobuf-codec",
"tidb_query_datatype/protobuf-codec",
"txn_types/protobuf-codec",
]
testexport = []
[dependencies]
batch-system = { path = "../batch-system" }
bitflags = "1.0.1"
byteorder = "1.2"
concurrency_manager = { path = "../concurrency_manager" }
configuration = { path = "../configuration" }
crc32fast = "1.2"
crossbeam = "0.7.2"
engine_rocks = { path = "../engine_rocks" }
encryption = { path = "../encryption" }
engine_traits = { path = "../engine_traits" }
error_code = { path = "../error_code" }
fail = "0.4"
openssl = "0.10"
fs2 = "0.4"
futures = "0.3"
futures-util = { version = "0.3.1", default-features = false, features = ["io"] }
hex = "0.4"
into_other = { path = "../into_other" }
keys = { path = "../keys" }
kvproto = { git = "https://github.com/pingcap/kvproto.git", default-features = false }
lazy_static = "1.3"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
log_wrappers = { path = "../log_wrappers" }
pd_client = { path = "../pd_client" }
prometheus = { version = "0.8", features = ["nightly", "push"] }
prost = { version = "0.6", optional = true }
protobuf = "2.8"
quick-error = "1.2.3"
raft = { version = "0.6.0-alpha", default-features = false }
raft-proto = { git = "https://github.com/pingcap/raft-rs", branch = "master", default-features = false }
rand = "0.7.3"
serde = "1.0"
serde_derive = "1.0"
serde_with = "1.4"
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" }
smallvec = "1.4"
sst_importer = { path = "../sst_importer" }
tempfile = "3.0"
tidb_query_datatype = { path = "../tidb_query_datatype" }
tikv_alloc = { path = "../tikv_alloc" }
tikv_util = { path = "../tikv_util" }
time = "0.1"
tokio = { version = "0.2", features = ["sync", "rt-threaded"] }
txn_types = { path = "../txn_types" }
uuid = { version = "0.8.1", features = ["serde", "v4"] }
[dependencies.prometheus-static-metric]
git = "https://github.com/tikv/rust-prometheus.git"
rev = "fd122caa03de8e7e5e4fae9372583aebf19e39f6"
[dependencies.yatp]
git = "https://github.com/tikv/yatp.git"
[dev-dependencies]
panic_hook = { path = "../panic_hook" }
test_sst_importer = { path = "../test_sst_importer" }
engine_panic = { path = "../engine_panic" }