This repository was archived by the owner on Feb 8, 2021. It is now read-only.
forked from Hoverbear/client-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (54 loc) · 1.69 KB
/
Cargo.toml
File metadata and controls
60 lines (54 loc) · 1.69 KB
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
[package]
name = "tikv-client"
version = "0.0.0"
keywords = ["TiKV", "KV", "distributed-systems"]
license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "Official TiKV Client & API bindings."
edition = "2018"
[features]
default = []
# Enable the `tikv-client` binary.
cli = [
"clap",
"env_logger",
"rustyline",
"failure/backtrace",
]
yaml = []
# Enable integration tests with a running TiKV and PD instance.
# Use $PD_ADDRS, comma separated, to set the addresses the tests use.
integration-tests = []
[lib]
name = "tikv_client"
[[bin]]
name = "tikv-client"
path = "src/client/mock.rs"
required-features = ["cli", "yaml"]
[dependencies]
derive-new = "0.5"
clap = { version = "^2.33", optional = true, features = ["yaml"] }
env_logger = { version = "0.6.1", optional = true }
failure = "0.1"
futures-preview = { version = "0.3.0-alpha.18", features = ["compat", "async-await", "nightly"] }
grpcio = { version = "0.5.0-alpha", features = [ "secure", "prost-codec" ], default-features = false }
kvproto = { git = "https://github.com/pingcap/kvproto.git", rev = "81e0c4635c2e28462fa0ad82c39f126448976de7", features = [ "prost-codec" ], default-features = false }
lazy_static = "1"
log = "0.3.9"
regex = "1"
serde = "1.0"
serde_derive = "1.0"
tokio-timer = "0.2"
rustyline = { version = "5.0.0", optional = true }
[dependencies.prometheus]
version = "0.4.2"
default-features = false
features = ["push", "process"]
[dev-dependencies]
tempdir = "0.3"
runtime = { version = "0.3.0-alpha.6", default-features = false }
runtime-tokio = "0.3.0-alpha.5"
proptest = "0.9"
proptest-derive = "0.1.0"
clap = { version = "^2.33", features = ["yaml"] }