Allow selection of TLS library in Interop tests (#129)

This commit is contained in:
James Nugent
2019-11-10 17:28:03 +01:00
committed by Lucio Franco
parent 23e7695800
commit 79996f7c93
6 changed files with 112 additions and 27 deletions
+7 -1
View File
@@ -3,6 +3,12 @@ name = "tonic-interop"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
[features]
default = ["tonic"]
tls_openssl = ["tonic", "tonic/tls", "tonic/openssl"]
tls_rustls = ["tonic", "tonic/tls", "tonic/rustls"]
[[bin]]
name = "client"
@@ -14,7 +20,7 @@ path = "src/bin/server.rs"
[dependencies]
tokio = "=0.2.0-alpha.6"
tonic = { path = "../tonic", features = ["rustls"] }
tonic = { path = "../tonic", optional = true }
prost = "0.5"
prost-derive = "0.5"
bytes = "0.4"