chore: Fix feature flags and build docs (#311)

Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
Lucio Franco
2020-03-30 12:02:10 -04:00
committed by GitHub
parent 59c7788846
commit 3cba9f5f6f
14 changed files with 258 additions and 247 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
[package]
name = "tonic-interop"
name = "interop"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
@@ -34,4 +34,4 @@ tracing-subscriber = "0.2.0-alpha"
tracing-log = "0.1.0"
[build-dependencies]
tonic-build = { path = "../tonic-build", features=["prost"] }
tonic-build = { path = "../tonic-build", features = ["prost"] }
+2 -2
View File
@@ -1,8 +1,8 @@
use interop::client;
use std::time::Duration;
use structopt::{clap::arg_enum, StructOpt};
use tonic::transport::Endpoint;
use tonic::transport::{Certificate, ClientTlsConfig};
use tonic_interop::client;
#[derive(StructOpt)]
struct Opts {
@@ -20,7 +20,7 @@ struct Opts {
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_interop::trace_init();
interop::trace_init();
let matches = Opts::from_args();
+2 -2
View File
@@ -1,7 +1,7 @@
use interop::server;
use structopt::StructOpt;
use tonic::transport::Server;
use tonic::transport::{Identity, ServerTlsConfig};
use tonic_interop::server;
#[derive(StructOpt)]
struct Opts {
@@ -11,7 +11,7 @@ struct Opts {
#[tokio::main]
async fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
tonic_interop::trace_init();
interop::trace_init();
let matches = Opts::from_args();