chore: Fix feature flags and build docs (#311)
Signed-off-by: Lucio Franco <[email protected]>
This commit is contained in:
@@ -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