/
Cargo.toml
83 lines (78 loc) · 2 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
[package]
name = "tikv_util"
version = "0.1.0"
edition = "2018"
publish = false
[features]
failpoints = ["fail/failpoints"]
test-cgroup = []
[dependencies]
async-speed-limit = "0.4.0"
backtrace = "0.3.9"
byteorder = "1.2"
bytes = "1.0"
chrono = "0.4"
codec = { workspace = true }
collections = { workspace = true }
cpu-time = "1.0.0"
crc32fast = "1.2"
crossbeam = "0.8"
crossbeam-skiplist = "0.1"
derive_more = "0.99.3"
error_code = { workspace = true }
fail = "0.5"
futures = { version = "0.3", features = ["compat", "thread-pool"] }
futures-util = { version = "0.3", default-features = false, features = ["io"] }
grpcio = { workspace = true }
http = "0.2.0"
kvproto = { workspace = true }
lazy_static = "1.3"
libc = "0.2"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
log_wrappers = { workspace = true }
mnt = "0.3.1"
nix = "0.24"
num-traits = "0.2"
num_cpus = "1"
online_config = { workspace = true }
openssl = "0.10"
parking_lot_core = "0.9.1"
pin-project = "1.0"
prometheus = { version = "0.13", features = ["nightly"] }
prometheus-static-metric = "0.5"
protobuf = "2"
rand = "0.8"
rusoto_core = "0.46.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
slog = { workspace = true }
slog-async = "2.3"
slog-global = { workspace = true }
slog-json = "2.3"
slog-term = "2.4"
sysinfo = "0.26"
thiserror = "1.0"
tikv_alloc = { workspace = true }
time = "0.1"
tokio = { version = "1.5", features = ["rt-multi-thread"] }
tokio-executor = "0.1"
tokio-timer = { workspace = true }
tracker = { workspace = true }
url = "2"
yatp = { workspace = true }
[target.'cfg(target_os = "linux")'.dependencies]
procinfo = { git = "https://github.com/tikv/procinfo-rs", rev = "6599eb9dca74229b2c1fcc44118bef7eff127128" }
page_size = "0.4"
procfs = { version = "0.12", default-features = false }
[dev-dependencies]
gag = "1.0"
panic_hook = { workspace = true }
protobuf = "2"
regex = "1.0"
tempfile = "3.0"
toml = "0.5"
utime = "0.2"
[[bench]]
name = "channel"
path = "benches/channel/mod.rs"
test = true