[package]
name = "tonic"
version = "0.1.0-alpha.5"
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic/0.1.0-alpha.5/tonic/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://github.com/hyperium/tonic"
description = """
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
"""
readme = "../README.md"
categories = ["web-programming", "network-programming", "asynchronous"]
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
[features]
default = ["transport", "codegen"]
codegen = ["async-trait", "prost", "prost-derive"]
transport = [
"hyper",
"tokio",
"tower",
"tower-balance",
"tower-load",
]
openssl = ["openssl1", "tokio-openssl", "tls"]
rustls = ["tokio-rustls", "tls"]
tls = []
[[bench]]
name = "bench_main"
harness = false
[dependencies]
bytes = "0.4"
futures-core-preview = "=0.3.0-alpha.19"
futures-util-preview = { version = "=0.3.0-alpha.19", default-features = false }
tracing = "0.1"
http = "0.1.14"
base64 = "0.10"
percent-encoding = "1.0.1"
tower-service = "=0.3.0-alpha.2"
tokio-codec = "=0.2.0-alpha.6"
async-stream = "0.1.2"
http-body = "=0.2.0-alpha.3"
pin-project = "^0.4"
prost = { version = "0.5", optional = true }
prost-derive = { version = "0.5", optional = true }
async-trait = { version = "0.1.13", optional = true }
hyper = { version = "=0.13.0-alpha.4", features = ["unstable-stream"], optional = true }
tokio = { version = "=0.2.0-alpha.6", default-features = false, features = ["tcp"], optional = true }
tower = { version = "=0.3.0-alpha.2", optional = true}
tower-make = "=0.3.0-alpha.2a"
tower-balance = { version = "=0.3.0-alpha.2", optional = true }
tower-load = { version = "=0.3.0-alpha.2", optional = true }
tokio-openssl = { version = "=0.4.0-alpha.6", optional = true }
openssl1 = { package = "openssl", version = "0.10", optional = true }
tokio-rustls = { version = "=0.12.0-alpha.5", optional = true }
[dev-dependencies]
static_assertions = "1.0"
rand = "0.7.2"
criterion = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]