mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 09:47:50 +03:00
refactor(dev): move tracing to feature
This commit is contained in:
@@ -26,7 +26,7 @@ pub(crate) mod tests {
|
||||
|
||||
STATE
|
||||
.get_or_init(async || -> web::Data<AppState> {
|
||||
#[cfg(all(test, tokio_unstable))]
|
||||
#[cfg(feature = "trace")]
|
||||
console_subscriber::init();
|
||||
|
||||
new_app_state(None).await.unwrap()
|
||||
|
||||
Reference in New Issue
Block a user