• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "grpcio-sys"
3version = "0.13.0+1.56.2-patched"
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    "!grpc/test/core/**/*.proto",
49    # fool cmake to not update submodules.
50    "!grpc/third_party/envoy-api/README.md",
51    "!grpc/third_party/googleapis/README.md",
52]
53
54[dependencies]
55libc = "0.2"
56openssl-sys = { version = "0.9", optional = true, features = ["vendored"] }
57libz-sys = { version = "1.1.3", default-features = false, features = ["libc", "static"] }
58
59[features]
60# A hidden feature indicating that secure features should be enabled.
61_secure = []
62boringssl = ["boringssl-src", "_secure"]
63openssl = ["_secure"]
64openssl-vendored = ["openssl", "openssl-sys"]
65no-omit-frame-pointer = []
66# A hidden feature that is used to force regenerating bindings.
67_gen-bindings = ["bindgen"]
68_list-package = []
69
70[target.'cfg(not(all(any(target_os = "linux", target_os = "macos"), any(target_arch = "x86_64", target_arch = "aarch64"))))'.build-dependencies]
71bindgen = "0.59.0"
72
73[build-dependencies]
74cc = "1.0"
75cmake = "0.1"
76pkg-config = "0.3"
77walkdir = "2.2.9"
78# Because of rust-lang/cargo#5237, bindgen should not be upgraded util a minor or major release.
79bindgen = { version = "0.59.0", default-features = false, optional = true, features = ["runtime"] }
80boringssl-src = { version = "0.6.0", optional = true }
81