chore: Fix feature flags and build docs (#311)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
+2
-2
@@ -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"] }
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user