Files
tonic/tonic/Cargo.toml
T
2019-09-30 19:13:27 -04:00

77 lines
2.3 KiB
TOML

[package]
name = "tonic"
# When releasing to crates.io:
# - Remove path dependencies
# - Update html_root_url.
# - Update doc url
# - Cargo.toml
# - README.md
# - Update CHANGELOG.md.
# - Create "v0.1.x" git tag.
version = "0.1.0-alpha.1"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
license = "MIT"
documentation = "https://docs.rs/tonic/0.1.0-alpha.1/tonic/"
repository = "https://github.com/hyperium/tonic"
homepage = "https://tokio.rs"
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-reconnect",
"tower-balance",
"tower-load",
]
openssl = ["openssl1", "tokio-openssl", "tls"]
rustls = ["tokio-rustls", "tls"]
tls = []
[dependencies]
bytes = "0.4"
futures-core-preview = "=0.3.0-alpha.18"
futures-util-preview = "=0.3.0-alpha.18"
tracing = "0.1"
http = "0.1.14"
base64 = "0.10"
percent-encoding = "1.0.1"
tower-service = "=0.3.0-alpha.1"
tokio-codec = "=0.2.0-alpha.4"
async-stream = "0.1.1"
http-body = "0.2.0-alpha.1"
pin-project = "=0.4.0-alpha.11"
# prost
prost = { version = "0.5", optional = true }
prost-derive = { version = "0.5", optional = true }
# codegen
async-trait = { version = "0.1.13", optional = true }
# transport
hyper = { git = "https://github.com/hyperium/hyper", features = ["unstable-stream"], optional = true, rev = "2b0405c48c10bca7893c30ea960ac20a41a8578f" }
tokio = { version = "=0.2.0-alpha.4", default-features = false, features = ["tcp"], optional = true }
tower = { version = "=0.3.0-alpha.1a", optional = true}
tower-make = "=0.1.0-alpha.2"
tower-reconnect = { version = "=0.3.0-alpha.1", optional = true }
tower-balance = { version = "=0.3.0-alpha.1", optional = true }
tower-load = { version = "=0.3.0-alpha.1", optional = true }
# openssl
tokio-openssl = { version = "=0.4.0-alpha.4", optional = true }
openssl1 = { package = "openssl", version = "0.10", optional = true }
# rustls
tokio-rustls = { version = "0.12.0-alpha.2", optional = true }