56 lines
1.5 KiB
TOML
56 lines
1.5 KiB
TOML
[package]
|
|
name = "tonic"
|
|
version = "0.1.0-alpha.1"
|
|
authors = ["Lucio Franco <[email protected]>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
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"
|
|
bytes = "0.4.7"
|
|
prost = "0.5"
|
|
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"
|
|
async-trait = "0.1"
|
|
|
|
# optional
|
|
# hyper = { version = "=0.13.0-alpha.1", optional = true }
|
|
hyper = { git = "https://github.com/hyperium/hyper", features = ["unstable-stream"], optional = true }
|
|
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 }
|
|
openssl = { version = "0.10", optional = true }
|
|
|
|
# rustls
|
|
tokio-rustls = { version = "0.12.0-alpha.2", optional = true }
|
|
|
|
[features]
|
|
default = ["transport"]
|
|
transport = [
|
|
"hyper",
|
|
"tower-1",
|
|
"tokio",
|
|
"native-tls",
|
|
]
|
|
tower-1 = [
|
|
"tower",
|
|
"tower-reconnect",
|
|
"tower-balance",
|
|
"tower-load",
|
|
]
|
|
native-tls = ["openssl", "tokio-openssl"]
|
|
# rustls = ["tokio-rustls"]
|