blob: 9755697206b721c7a1d8f152a669363cd09f2be6 [file] [log] [blame]
[package]
name = "grpcio"
version = "0.9.1"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
keywords = ["grpc", "protobuf", "rpc", "tls", "http2"]
repository = "https://github.com/tikv/grpc-rs"
readme = "README.md"
homepage = "https://github.com/tikv/grpc-rs"
documentation = "https://docs.rs/grpcio"
description = "The rust language implementation of gRPC, base on the gRPC c core library."
categories = ["asynchronous", "network-programming"]
autoexamples = false
[package.metadata.docs.rs]
all-features = true
[dependencies]
grpcio-sys = { path = "grpc-sys", version = "0.9", default-features = false }
libc = "0.2"
futures = "0.3"
protobuf = { version = "2.0", optional = true }
prost = { version = "0.7", optional = true }
bytes = { version = "1.0", optional = true }
log = "0.4"
parking_lot = "0.11"
[workspace]
members = [
"proto",
"benchmark",
"compiler",
"health",
"interop",
"tests-and-examples",
]
# Don't include it in workspace to make it possible to use different version of
# rust-protobuf.
exclude = ["xtask"]
[features]
default = ["protobuf-codec", "secure", "use-bindgen"]
protobuf-codec = ["protobuf"]
prost-codec = ["prost", "bytes"]
secure = ["grpcio-sys/secure"]
openssl = ["secure", "grpcio-sys/openssl"]
openssl-vendored = ["secure", "grpcio-sys/openssl-vendored"]
no-omit-frame-pointer = ["grpcio-sys/no-omit-frame-pointer"]
use-bindgen = ["grpcio-sys/use-bindgen"]
[badges]
travis-ci = { repository = "tikv/grpc-rs" }
[patch.crates-io]
grpcio-compiler = { path = "compiler", version = "0.9.0", default-features = false }