forked from hicqu/phybr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (28 loc) · 1.05 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
[package]
name = "phybr"
version = "0.0.1"
keywords = ["TiKV"]
edition = "2018"
build = "build.rs"
[lib]
name = "phybr"
path = "src/lib.rs"
[features]
default = ["protobuf-codec"]
protobuf-codec = ["protobuf-build/grpcio-protobuf-codec", "grpcio/protobuf-codec"]
[dependencies]
protobuf = "=2.8.0"
prost = { version = "0.7", optional = true }
prost-derive = { version = "0.7", optional = true }
futures = "0.3.5"
grpcio = { version = "0.9.0", default-features = false, features = ["secure"] }
lazy_static = { version = "1.3", optional = true }
[target.'cfg(any(not(linux), not(any(target_arch = "x86_64", target_arch = "aarch64"))))'.dependencies.grpcio]
version = "0.9.0"
default-features = false
features = ["secure", "use-bindgen"]
[build-dependencies]
protobuf-build = { version = "0.12", default-features = false }
[patch.crates-io]
protobuf-codegen = { git = "https://github.com/pingcap/rust-protobuf", rev="82b49fea7e696fd647b5aca0a6c6ec944eab3189" }
protobuf = { git = "https://github.com/pingcap/rust-protobuf", rev="82b49fea7e696fd647b5aca0a6c6ec944eab3189" }