about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-04-17 08:56:43 +0300
committerVika <vika@fireburn.ru>2022-04-17 08:56:43 +0300
commite2bc26e907c10def259f52401804f7f6d00c498c (patch)
tree1dcf8001e4eb1e68745ef2e358af32a9a786c4c5 /src
parentd65a7b6ce9ed74b5dad8c848cdeb49c7635f4062 (diff)
added tokio-console instrumentation support
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index c69a6c6..b4eeed5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,6 +7,7 @@ use warp::{Filter, host::Authority};
 
 #[tokio::main]
 async fn main() {
+    console_subscriber::init();
     // TODO json logging in the future?
     let logger_env = env_logger::Env::new().filter_or("RUST_LOG", "info");
     env_logger::init_from_env(logger_env);