Add buffer support
This commit is contained in:
@@ -25,6 +25,8 @@ hyper = { git = "https://github.com/hyperium/hyper" }
|
||||
console = "0.7"
|
||||
structopt = "0.2"
|
||||
pretty_env_logger = "0.3"
|
||||
tracing-fmt = "0.0.1-alpha.1"
|
||||
tracing = "0.1"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = { path = "../tonic-build" }
|
||||
|
||||
@@ -14,7 +14,8 @@ struct Opts {
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
pretty_env_logger::init();
|
||||
let sub = tracing_fmt::FmtSubscriber::builder().finish();
|
||||
tracing::subscriber::set_global_default(sub).unwrap();
|
||||
|
||||
let matches = Opts::from_args();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user