Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 1 | [package] |
| 2 | name = "grpcio-sys" |
Joel Galenson | dacbb99 | 2021-09-23 10:55:24 -0700 | [diff] [blame] | 3 | version = "0.9.1+1.38.0" |
Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 4 | authors = ["The TiKV Project Developers"] |
| 5 | license = "Apache-2.0" |
| 6 | keywords = ["grpc", "bindings"] |
| 7 | repository = "https://github.com/tikv/grpc-rs" |
| 8 | homepage = "https://github.com/tikv/grpc-rs" |
| 9 | documentation = "https://docs.rs/grpcio-sys" |
| 10 | description = "FFI bindings to gRPC c core library" |
| 11 | categories = ["external-ffi-bindings", "network-programming"] |
| 12 | build = "build.rs" |
| 13 | edition = "2018" |
| 14 | exclude = [ |
| 15 | "grpc/doc/*", |
| 16 | "grpc/etc/*", |
| 17 | "grpc/examples/*", |
| 18 | "grpc/Makefile", |
| 19 | "grpc/templates/*", |
| 20 | "grpc/src/android/*", |
| 21 | "grpc/src/csharp/*", |
| 22 | "grpc/src/node/*", |
| 23 | "grpc/src/objective-c/*", |
| 24 | "grpc/src/php/*", |
| 25 | "grpc/src/python/*", |
| 26 | "grpc/src/ruby/*", |
| 27 | "grpc/test/core/end2end/*", |
| 28 | "grpc/third_party/zlib/*", |
| 29 | "grpc/third_party/abseil-cpp/absl/time/internal/cctz/testdata", |
| 30 | "grpc/third_party/benchmark/*", |
| 31 | "grpc/third_party/bloaty/*", |
Jeff Vander Stoep | 08902cf | 2020-11-19 19:03:52 +0100 | [diff] [blame] | 32 | "grpc/third_party/boringssl-with-bazel/*", |
Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 33 | "grpc/third_party/libuv/*", |
| 34 | "grpc/third_party/gflags/*", |
| 35 | "grpc/third_party/googletest/*", |
| 36 | "grpc/third_party/objective_c/*", |
| 37 | "grpc/third_party/protobuf/*", |
| 38 | "grpc/third_party/toolchans/*", |
| 39 | "grpc/third_party/envoy-api/*", |
| 40 | "grpc/third_party/googleapis/*", |
| 41 | "grpc/third_party/protoc-gen-validate/*", |
| 42 | "grpc/third_party/udpa/*", |
| 43 | "grpc/tools/run_tests/generated/*", |
| 44 | "grpc/test/core/", |
| 45 | "!grpc/test/core/security/*.cc", |
| 46 | "!grpc/test/core/util/cmdline.cc", |
| 47 | "grpc/test/cpp", |
| 48 | ] |
| 49 | |
| 50 | [dependencies] |
| 51 | libc = "0.2" |
| 52 | openssl-sys = { version = "0.9", optional = true, features = ["vendored"] } |
Joel Galenson | 2c22405 | 2021-06-21 17:11:55 -0700 | [diff] [blame] | 53 | libz-sys = { version = "1.1.3", default-features = false, features = ["libc", "static"] } |
Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 54 | |
| 55 | [features] |
Joel Galenson | 23c9e5e | 2021-04-02 14:59:08 -0700 | [diff] [blame] | 56 | default = ["use-bindgen"] |
Joel Galenson | dacbb99 | 2021-09-23 10:55:24 -0700 | [diff] [blame] | 57 | secure = ["boringssl-src"] |
Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 58 | openssl = ["secure"] |
| 59 | openssl-vendored = ["openssl", "openssl-sys"] |
| 60 | no-omit-frame-pointer = [] |
Joel Galenson | 23c9e5e | 2021-04-02 14:59:08 -0700 | [diff] [blame] | 61 | # If this feature is disabled, bindgen will not be used and the previously generated bindings will |
| 62 | # be compiled instead. This only work for the supported targets and will make compilation fails for |
| 63 | # the other ones. |
| 64 | use-bindgen = ["bindgen"] |
Jeff Vander Stoep | 3adfea8 | 2020-10-14 15:35:59 +0200 | [diff] [blame] | 65 | |
| 66 | [build-dependencies] |
| 67 | cc = "1.0" |
| 68 | cmake = "0.1" |
| 69 | pkg-config = "0.3" |
| 70 | walkdir = "2.2.9" |
| 71 | # Because of rust-lang/cargo#5237, bindgen should not be upgraded util a minor or major release. |
Joel Galenson | 23c9e5e | 2021-04-02 14:59:08 -0700 | [diff] [blame] | 72 | bindgen = { version = "0.57.0", default-features = false, optional = true, features = ["runtime"] } |
Joel Galenson | dacbb99 | 2021-09-23 10:55:24 -0700 | [diff] [blame] | 73 | boringssl-src = { version = "0.3.0", optional = true } |