-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (75 loc) · 2.36 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
[package]
name = "cdc"
version = "0.0.1"
edition = "2018"
publish = false
[features]
protobuf-codec = [
"engine_rocks/protobuf-codec",
"grpcio/protobuf-codec",
"kvproto/protobuf-codec",
"pd_client/protobuf-codec",
"raft/protobuf-codec",
"raftstore/protobuf-codec",
"tikv/protobuf-codec",
"txn_types/protobuf-codec",
]
prost-codec = [
"engine_rocks/prost-codec",
"grpcio/prost-codec",
"kvproto/prost-codec",
"pd_client/prost-codec",
"raft/prost-codec",
"raftstore/prost-codec",
"tikv/prost-codec",
"txn_types/prost-codec",
]
tcmalloc = ["tikv/tcmalloc"]
jemalloc = ["tikv/jemalloc"]
mimalloc = ["tikv/mimalloc"]
portable = ["tikv/portable"]
sse = ["tikv/sse"]
mem-profiling = ["tikv/mem-profiling"]
failpoints = ["tikv/failpoints"]
[dependencies]
bitflags = "1.0"
crossbeam = "0.7"
hex = "0.4"
engine_rocks = { path = "../engine_rocks" }
engine_traits = { path = "../engine_traits" }
failure = "0.1"
futures = "0.3"
grpcio = { version = "0.6", default-features = false, features = ["openssl-vendored"] }
kvproto = { git = "https://github.com/pingcap/kvproto.git", default-features = false }
pd_client = { path = "../pd_client" }
raft = { version = "0.6.0-alpha", default-features = false }
raftstore = { path = "../raftstore" }
resolved_ts = { path = "../resolved_ts" }
security = { path = "../security" }
semver = "0.10"
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 = { path = "../../", default-features = false }
tikv_util = { path = "../tikv_util" }
tokio = { version = "0.2", features = ["rt-threaded"]}
txn_types = { path = "../txn_types" }
concurrency_manager = { path = "../concurrency_manager" }
fail = "0.4"
lazy_static = "1.3"
prometheus = { version = "0.8", default-features = false, features = ["nightly", "push"] }
protobuf = "2.8"
prost = "0.6"
[dev-dependencies]
engine_traits = { path = "../engine_traits" }
tempfile = "3.0"
test_raftstore = { path = "../test_raftstore" }
test_util = { path = "../test_util" }
panic_hook = { path = "../panic_hook" }
[[test]]
name = "integrations"
path = "tests/integrations/mod.rs"
# To avoid failpoints interfere with normal tests, we separate them.
[[test]]
name = "failpoints"
path = "tests/failpoints/mod.rs"
required-features = ["failpoints"]