aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2020-10-14 15:21:00 +0200
committerJeff Vander Stoep <jeffv@google.com>2020-10-14 15:21:00 +0200
commit761577d44d5d8104fb718fbab47ca87353e75f9f (patch)
tree5647c69210cf8d9a287ac689476f45513371aefc /Cargo.toml.orig
parent352363d43b57e1a7c239098b358919d113aeb81a (diff)
downloadgrpcio-761577d44d5d8104fb718fbab47ca87353e75f9f.tar.gz
Import grpcio 0.6.0
And add metadata files using the following command: get_rust_pkg.py --add3prf -v grpcio-0.6.0 -o grpcio Test: none Change-Id: I53cc0feb5c9d24eacb62331b968cab4ec85f60a6
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig49
1 files changed, 49 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
new file mode 100644
index 0000000..7775f30
--- /dev/null
+++ b/Cargo.toml.orig
@@ -0,0 +1,49 @@
+[package]
+name = "grpcio"
+version = "0.6.0"
+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.6.0" }
+libc = "0.2"
+futures = "0.3"
+protobuf = { version = "2.0", optional = true }
+prost = { version = "0.6", optional = true }
+bytes = { version = "0.5", optional = true }
+log = "0.4"
+parking_lot = "0.10"
+
+[workspace]
+members = ["proto", "benchmark", "compiler", "interop", "tests-and-examples"]
+
+[features]
+default = ["protobuf-codec", "secure"]
+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"]
+
+[profile.release]
+debug = true
+
+[badges]
+travis-ci = { repository = "tikv/grpc-rs" }
+
+[patch.crates-io]
+grpcio-compiler = { path = "compiler", version = "0.6.0", default-features = false }
+protobuf-build = { git = "https://github.com/tikv/protobuf-build.git" }