1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14name = "tonic"
15version = "0.11.0"
16authors = ["Lucio Franco <[email protected]>"]
17description = """
18A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
19"""
20homepage = "https://github.com/hyperium/tonic"
21documentation = "https://docs.rs/tonic/0.11.0"
22readme = "README.md"
23keywords = [
24    "rpc",
25    "grpc",
26    "async",
27    "futures",
28    "protobuf",
29]
30categories = [
31    "web-programming",
32    "network-programming",
33    "asynchronous",
34]
35license = "MIT"
36repository = "https://github.com/hyperium/tonic"
37
38[package.metadata.docs.rs]
39all-features = true
40rustdoc-args = [
41    "--cfg",
42    "docsrs",
43]
44
45[[bench]]
46name = "decode"
47harness = false
48
49[dependencies.async-stream]
50version = "0.3"
51optional = true
52
53[dependencies.async-trait]
54version = "0.1.13"
55optional = true
56
57[dependencies.axum]
58version = "0.6.9"
59optional = true
60default_features = false
61
62[dependencies.base64]
63version = "0.21"
64
65[dependencies.bytes]
66version = "1.0"
67
68[dependencies.flate2]
69version = "1.0"
70optional = true
71
72[dependencies.h2]
73version = "0.3.24"
74optional = true
75
76[dependencies.http]
77version = "0.2"
78
79[dependencies.http-body]
80version = "0.4.4"
81
82[dependencies.hyper]
83version = "0.14.26"
84features = ["full"]
85optional = true
86
87[dependencies.hyper-timeout]
88version = "0.4"
89optional = true
90
91[dependencies.percent-encoding]
92version = "2.1"
93
94[dependencies.pin-project]
95version = "1.0.11"
96
97[dependencies.prost]
98version = "0.12"
99features = ["std"]
100optional = true
101default-features = false
102
103[dependencies.rustls-native-certs]
104version = "0.7"
105optional = true
106
107[dependencies.rustls-pemfile]
108version = "2.0"
109optional = true
110
111[dependencies.rustls-pki-types]
112version = "1.0"
113optional = true
114
115[dependencies.tokio]
116version = "1.0.1"
117
118[dependencies.tokio-rustls]
119version = "0.25"
120optional = true
121
122[dependencies.tokio-stream]
123version = "0.1"
124
125[dependencies.tower]
126version = "0.4.7"
127features = [
128    "balance",
129    "buffer",
130    "discover",
131    "limit",
132    "load",
133    "make",
134    "timeout",
135    "util",
136]
137optional = true
138default-features = false
139
140[dependencies.tower-layer]
141version = "0.3"
142
143[dependencies.tower-service]
144version = "0.3"
145
146[dependencies.tracing]
147version = "0.1"
148
149[dependencies.webpki-roots]
150version = "0.26"
151optional = true
152
153[dependencies.zstd]
154version = "0.12.3"
155optional = true
156
157[dev-dependencies.bencher]
158version = "0.1.5"
159
160[dev-dependencies.quickcheck]
161version = "1.0"
162
163[dev-dependencies.quickcheck_macros]
164version = "1.0"
165
166[dev-dependencies.rand]
167version = "0.8"
168
169[dev-dependencies.static_assertions]
170version = "1.0"
171
172[dev-dependencies.tokio]
173version = "1.0"
174features = [
175    "rt",
176    "macros",
177]
178
179[dev-dependencies.tower]
180version = "0.4.7"
181features = ["full"]
182
183[features]
184channel = []
185codegen = ["dep:async-trait"]
186default = [
187    "transport",
188    "codegen",
189    "prost",
190]
191gzip = ["dep:flate2"]
192prost = ["dep:prost"]
193tls = [
194    "dep:rustls-pki-types",
195    "dep:rustls-pemfile",
196    "transport",
197    "dep:tokio-rustls",
198    "tokio/rt",
199    "tokio/macros",
200]
201tls-roots = [
202    "tls-roots-common",
203    "dep:rustls-native-certs",
204]
205tls-roots-common = ["tls"]
206tls-webpki-roots = [
207    "tls-roots-common",
208    "dep:webpki-roots",
209]
210transport = [
211    "dep:async-stream",
212    "dep:axum",
213    "channel",
214    "dep:h2",
215    "dep:hyper",
216    "tokio/net",
217    "tokio/time",
218    "dep:tower",
219    "dep:hyper-timeout",
220]
221zstd = ["dep:zstd"]
222