-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
94 lines (78 loc) · 1.7 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 = "tikv"
version = "0.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"]
[lib]
name = "tikv"
[[bin]]
name = "tikv-server"
[[bin]]
name = "bench-tikv"
path = "benches/bin/bench-tikv.rs"
[[bin]]
name = "tikv-ctl"
[[test]]
name = "tests"
[dependencies]
log = "0.3"
byteorder = "0.5"
rand = "0.3"
quick-error = "0.2"
tempdir = "0.3"
uuid = { version = "0.3", features = ["v4"] }
time = "0.1"
threadpool = "1.0.0"
toml = "0.1"
num = "0.1"
libc = "0.2.11"
crc = "1.2"
fs2 = "0.4"
clippy = {version = "*", optional = true}
rustc-serialize = "0.3"
protobuf = "1.2.1"
nix = "0.6.0"
utime = "0.1"
chrono = "0.2"
lazy_static = "0.2.1"
backtrace = "0.2.3"
clap = "2"
url = "1.2"
getopts = "0.2"
regex = "0.1"
fnv = "1.0"
sys-info = "0.4.1"
mio = "0.5"
futures = "0.1"
tokio-core = "0.1"
tokio-timer = "0.1"
[target.'cfg(unix)'.dependencies]
signal = "0.2"
[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]
git = "https://github.com/pingcap/rust-prometheus.git"
default-features = false
features = ["nightly", "push"]
[dependencies.grpc]
git = "https://github.com/stepancheg/grpc-rust.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