-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
108 lines (90 loc) · 1.92 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
[package]
name = "tikv"
version = "1.0.1"
keywords = ["KV", "distributed-systems", "raft"]
build = "build.rs"
[build-dependencies]
time = "0.1"
[features]
default = []
dev = ["clippy"]
static-link = ["rocksdb/static-link"]
portable = ["rocksdb/portable"]
sse = ["rocksdb/sse"]
mem-profiling = ["jemallocator"]
no-fail = ["fail/no_fail"]
[lib]
name = "tikv"
[[bin]]
name = "tikv-server"
[[bin]]
name = "bench-tikv"
path = "benches/bin/bench-tikv.rs"
[[bin]]
name = "tikv-ctl"
[[bin]]
name = "tikv-fail"
[[test]]
name = "tests"
[dependencies]
log = "0.3"
byteorder = "0.5"
rand = "0.3"
quick-error = "0.2"
tempdir = "0.3"
time = "0.1"
toml = "0.4"
libc = "0.2"
crc = "1.2"
fs2 = "0.4"
clippy = {version = "*", optional = true}
protobuf = "1.4"
nix = "0.9.0"
utime = "0.2"
chrono = "0.4"
lazy_static = "0.2.1"
backtrace = "0.2.3"
clap = "2"
url = "1.5"
regex = "0.1"
fnv = "1.0"
sys-info = "0.5.1"
flat_map = "0.0.4"
mio = "0.5"
futures = "0.1"
tokio-core = "0.1"
tokio-timer = "0.1"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
grpcio = "0.1"
rustc-serialize = "0.3"
murmur3 = "0.4.0"
futures-cpupool = "0.1"
[target.'cfg(unix)'.dependencies]
signal = "0.4"
[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.3"
default-features = false
features = ["nightly", "push", "process"]
[dependencies.jemallocator]
git = "https://github.com/busyjay/jemallocator.git"
branch = "dev"
features = ["profiling"]
optional = true
[dependencies.fail]
git = "https://github.com/pingcap/fail-rs.git"
[profile.dev]
opt-level = 0 # Controls the --opt-level the compiler builds with
debug = true # Controls whether the compiler passes `-g`
codegen-units = 2
# The release profile, used for `cargo build --release`
[profile.release]
opt-level = 3
debug = true