blob: 7a520ef4bf752ee1023e935dec1b4e750e84f695 [file] [log] [blame]
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +02001[package]
2name = "grpcio-sys"
Joel Galensondacbb992021-09-23 10:55:24 -07003version = "0.9.1+1.38.0"
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +02004authors = ["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/*",
Jeff Vander Stoep08902cf2020-11-19 19:03:52 +010032 "grpc/third_party/boringssl-with-bazel/*",
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +020033 "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"] }
Joel Galenson2c224052021-06-21 17:11:55 -070053libz-sys = { version = "1.1.3", default-features = false, features = ["libc", "static"] }
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +020054
55[features]
Joel Galenson23c9e5e2021-04-02 14:59:08 -070056default = ["use-bindgen"]
Joel Galensondacbb992021-09-23 10:55:24 -070057secure = ["boringssl-src"]
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +020058openssl = ["secure"]
59openssl-vendored = ["openssl", "openssl-sys"]
60no-omit-frame-pointer = []
Joel Galenson23c9e5e2021-04-02 14:59:08 -070061# 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"]
Jeff Vander Stoep3adfea82020-10-14 15:35:59 +020065
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.
Joel Galenson23c9e5e2021-04-02 14:59:08 -070072bindgen = { version = "0.57.0", default-features = false, optional = true, features = ["runtime"] }
Joel Galensondacbb992021-09-23 10:55:24 -070073boringssl-src = { version = "0.3.0", optional = true }