about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-05-07 22:07:14 +0300
committerVika <vika@fireburn.ru>2022-05-07 22:07:14 +0300
commitd82be2e5907a0c969697e371e38fb888f6ae22eb (patch)
tree37f42c30a24553dc1e96229bea5f1498742fdf85 /src
parent5dcc84c404a0a927e531af70e8c5ad637ba96f90 (diff)
downloadkittybox-d82be2e5907a0c969697e371e38fb888f6ae22eb.tar.zst
Don't enable tokio-console support in production
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 f9815f3..ec6c95f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,6 +7,7 @@ use warp::{Filter, host::Authority};
 
 #[tokio::main]
 async fn main() {
+    #[cfg(debug_assertions)]
     console_subscriber::init();
     // TODO json logging in the future?
     let logger_env = env_logger::Env::new().filter_or("RUST_LOG", "info");