-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
29 lines (24 loc) · 963 Bytes
/
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
[package]
name = "kvproto"
version = "0.0.2"
keywords = ["TiKV"]
edition = "2018"
build = "build.rs"
[lib]
name = "kvproto"
path = "src/lib.rs"
[features]
default = ["protobuf-codec"]
protobuf-codec = ["protobuf-build/grpcio-protobuf-codec", "raft-proto/protobuf-codec", "grpcio/protobuf-codec"]
[dependencies]
protobuf = "=2.8.0"
futures = "0.3.5"
raft-proto = { version = "0.7.0", default-features = false }
grpcio = { version = "0.10.0", default-features = false }
lazy_static = { version = "1.3", optional = true }
[build-dependencies]
protobuf-build = { version = "0.13", default-features = false }
[patch.crates-io]
raft-proto = { git = "https://github.com/tikv/raft-rs", rev="95c532612ee6a83591fce9a8b51d6afe87b58835"}
protobuf-codegen = { git = "https://github.com/pingcap/rust-protobuf", rev="82b49fea7e696fd647b5aca0a6c6ec944eab3189" }
protobuf = { git = "https://github.com/pingcap/rust-protobuf", rev="82b49fea7e696fd647b5aca0a6c6ec944eab3189" }