summaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
blob: 27c58a8f2d505b2552d37fbc53f6d571fede30da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "grpcio-sys"
version = "0.8.1"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
keywords = ["grpc", "bindings"]
repository = "https://github.com/tikv/grpc-rs"
homepage = "https://github.com/tikv/grpc-rs"
documentation = "https://docs.rs/grpcio-sys"
description = "FFI bindings to gRPC c core library"
categories = ["external-ffi-bindings", "network-programming"]
build = "build.rs"
edition = "2018"
exclude = [
    "grpc/doc/*",
    "grpc/etc/*",
    "grpc/examples/*",
    "grpc/Makefile",
    "grpc/templates/*",
    "grpc/src/android/*",
    "grpc/src/csharp/*",
    "grpc/src/node/*",
    "grpc/src/objective-c/*",
    "grpc/src/php/*",
    "grpc/src/python/*",
    "grpc/src/ruby/*",
    "grpc/test/core/end2end/*",
    "grpc/third_party/zlib/*",
    "grpc/third_party/abseil-cpp/absl/time/internal/cctz/testdata",
    "grpc/third_party/benchmark/*",
    "grpc/third_party/bloaty/*",
    "grpc/third_party/boringssl-with-bazel/*",
    "grpc/third_party/libuv/*",
    "grpc/third_party/gflags/*",
    "grpc/third_party/googletest/*",
    "grpc/third_party/objective_c/*",
    "grpc/third_party/protobuf/*",
    "grpc/third_party/toolchans/*",
    "grpc/third_party/envoy-api/*",
    "grpc/third_party/googleapis/*",
    "grpc/third_party/protoc-gen-validate/*",
    "grpc/third_party/udpa/*",
    "grpc/tools/run_tests/generated/*",
    "grpc/test/core/",
    "!grpc/test/core/security/*.cc",
    "!grpc/test/core/util/cmdline.cc",
    "grpc/test/cpp",
]

[dependencies]
libc = "0.2"
openssl-sys = { version = "0.9", optional = true, features = ["vendored"] }
libz-sys = { version = "1.0.25", features = ["static"] }

[features]
default = ["use-bindgen"]
secure = []
openssl = ["secure"]
openssl-vendored = ["openssl", "openssl-sys"]
no-omit-frame-pointer = []
# If this feature is disabled, bindgen will not be used and the previously generated bindings will
# be compiled instead. This only work for the supported targets and will make compilation fails for
# the other ones.
use-bindgen = ["bindgen"]

[build-dependencies]
cc = "1.0"
cmake = "0.1"
pkg-config = "0.3"
walkdir = "2.2.9"
# Because of rust-lang/cargo#5237, bindgen should not be upgraded util a minor or major release.
bindgen = { version = "0.57.0", default-features = false, optional = true, features = ["runtime"] }
boringssl-src = "0.2.0"