-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
82 lines (66 loc) · 1.5 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
[package]
name = "tikv"
version = "0.0.1"
keywords = ["KV", "distributed-systems", "raft"]
build = "build.rs"
[build-dependencies]
time = "0.1"
[features]
default = []
dev = ["clippy"]
[lib]
name = "tikv"
[[bin]]
name = "tikv-server"
[[bin]]
name = "bench-tikv"
path = "benches/bin/bench-tikv.rs"
[[bin]]
name = "tikv-dump"
[[test]]
name = "tests"
[dependencies]
log = "0.3"
byteorder = "0.5"
rand = "0.3"
quick-error = "0.2"
tempdir = "0.3"
uuid = "0.1"
time = "0.1"
threadpool = "1.0.0"
toml = "0.1"
num = "0.1"
libc = "0.2.11"
crc = "1.2"
fs2 = "0.2"
clippy = {version = "*", optional = true}
rustc-serialize = "0.3"
protobuf = "1.0"
bytes = "0.3.0"
nix = "0.6.0"
utime = "0.1"
chrono = "0.2"
lazy_static = "0.2.1"
signal = "0.2"
# The getopts in crate.io is outdated, use the latest getopts instead.
[dependencies.getopts]
git = "https://github.com/rust-lang-nursery/getopts"
[dependencies.rocksdb]
git = "https://github.com/ngaut/rust-rocksdb.git"
[dependencies.kvproto]
git = "https://github.com/pingcap/kvproto"
[dependencies.tipb]
git = "https://github.com/pingcap/tipb.git"
[dependencies.mio]
git = "https://github.com/carllerche/mio.git"
[dependencies.prometheus]
git = "https://github.com/pingcap/rust-prometheus.git"
default-features = false
features = ["nightly"]
[profile.dev]
opt-level = 0 # Controls the --opt-level the compiler builds with
debug = true # Controls whether the compiler passes `-g`
# The release profile, used for `cargo build --release`
[profile.release]
opt-level = 3
debug = true