Add buffer support

This commit is contained in:
Lucio Franco
2019-08-31 03:18:52 -04:00
parent 644cc310f7
commit 4000c42478
4 changed files with 26 additions and 18 deletions
+2
View File
@@ -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" }
+2 -1
View File
@@ -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();