-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
139 lines (119 loc) · 2.64 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[package]
name = "tikv"
version = "2.1.0-rc.1"
keywords = ["KV", "distributed-systems", "raft"]
publish = false
[features]
default = []
portable = ["rocksdb/portable"]
sse = ["rocksdb/sse"]
mem-profiling = ["jemallocator"]
no-fail = ["fail/no_fail"]
[lib]
name = "tikv"
[[bin]]
name = "tikv-server"
[[bin]]
name = "tikv-ctl"
[[bin]]
name = "tikv-importer"
[[bench]]
name = "raftstore"
harness = false
[[bench]]
name = "benches"
[dependencies]
log = "0.3.9"
slog = "2.2"
slog-async = "2.3"
slog-scope = "4.0"
slog-stdlog = "3.0"
slog-term = "2.4"
byteorder = "1.2"
rand = "0.3"
quick-error = "0.2"
tempdir = "0.3"
time = "0.1"
toml = "0.4"
libc = "0.2"
crc = "1.8"
fs2 = "0.4"
protobuf = "~2.0"
nix = "0.11"
utime = "0.2"
chrono = "0.4"
chrono-tz = "0.5"
lazy_static = "0.2.1"
backtrace = "0.2.3"
clap = "2.32"
url = "1.5"
regex = "1.0"
fnv = "1.0"
sys-info = "0.5.1"
indexmap = { version = "1.0", features = ["serde-1"] }
mio = "0.5"
futures = "0.1"
futures-cpupool = "0.1"
tokio-core = "0.1"
tokio-timer = "0.2"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
rustc-serialize = "0.3"
zipf = "0.2.0"
bitflags = "1.0.1"
fail = "0.2"
uuid = { version = "0.6", features = [ "serde", "v4" ] }
grpcio = { version = "0.3", features = [ "secure" ] }
raft = "0.3"
crossbeam-channel = "0.2"
crossbeam = "0.2"
fxhash = "0.2"
derive_more = "0.11.0"
num = "0.2.0"
hex = "0.3"
[dependencies.murmur3]
git = "https://github.com/pingcap/murmur3.git"
[dependencies.rocksdb]
git = "https://github.com/pingcap/rust-rocksdb.git"
[dependencies.kvproto]
git = "https://github.com/pingcap/kvproto.git"
[dependencies.tipb]
git = "https://github.com/pingcap/tipb.git"
[dependencies.prometheus]
version = "0.4.2"
default-features = false
features = ["nightly", "push", "process"]
[dependencies.prometheus-static-metric]
version = "0.1.4"
[dependencies.jemallocator]
git = "https://github.com/busyjay/jemallocator.git"
branch = "dev"
features = ["profiling"]
optional = true
[dev-dependencies]
test_util = { path = "components/test_util" }
test_raftstore = { path = "components/test_raftstore" }
test_storage = { path = "components/test_storage" }
criterion = "0.2"
arrow = "0.10.0"
[target.'cfg(unix)'.dependencies]
signal = "0.6"
[workspace]
members = [
"fuzz",
"components/test_raftstore",
"components/test_storage",
"components/test_util"
]
[profile.dev]
opt-level = 0 # Controls the --opt-level the compiler builds with
debug = true # Controls whether the compiler passes `-g`
codegen-units = 4
# The release profile, used for `cargo build --release`
[profile.release]
lto = true
opt-level = 3
debug = true
# TODO: remove this once rust-lang/rust#50199 is resolved.
codegen-units = 2