1[package] 2name = "grpcio-sys" 3version = "0.9.1+1.38.0" 4authors = ["The TiKV Project Developers"] 5license = "Apache-2.0" 6keywords = ["grpc", "bindings"] 7repository = "https://github.com/tikv/grpc-rs" 8homepage = "https://github.com/tikv/grpc-rs" 9documentation = "https://docs.rs/grpcio-sys" 10description = "FFI bindings to gRPC c core library" 11categories = ["external-ffi-bindings", "network-programming"] 12build = "build.rs" 13edition = "2018" 14exclude = [ 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/*", 32 "grpc/third_party/boringssl-with-bazel/*", 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] 51libc = "0.2" 52openssl-sys = { version = "0.9", optional = true, features = ["vendored"] } 53libz-sys = { version = "1.1.3", default-features = false, features = ["libc", "static"] } 54 55[features] 56default = ["use-bindgen"] 57secure = ["boringssl-src"] 58openssl = ["secure"] 59openssl-vendored = ["openssl", "openssl-sys"] 60no-omit-frame-pointer = [] 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. 64use-bindgen = ["bindgen"] 65 66[build-dependencies] 67cc = "1.0" 68cmake = "0.1" 69pkg-config = "0.3" 70walkdir = "2.2.9" 71# Because of rust-lang/cargo#5237, bindgen should not be upgraded util a minor or major release. 72bindgen = { version = "0.57.0", default-features = false, optional = true, features = ["runtime"] } 73boringssl-src = { version = "0.3.0", optional = true } 74