fix lints
This commit is contained in:
@@ -31,6 +31,8 @@ analyzer:
|
|||||||
- "**.swagger.dart"
|
- "**.swagger.dart"
|
||||||
- "**.freezed.dart"
|
- "**.freezed.dart"
|
||||||
- "**.chopper.dart"
|
- "**.chopper.dart"
|
||||||
|
- "build/**"
|
||||||
|
- "test/drift/**"
|
||||||
# For more information about the core and recommended set of lints, see
|
# For more information about the core and recommended set of lints, see
|
||||||
# https://dart.dev/go/core-lints
|
# https://dart.dev/go/core-lints
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ anyhow = "1.0.100"
|
|||||||
time = "0.3.44"
|
time = "0.3.44"
|
||||||
tracing = "0.1.40"
|
tracing = "0.1.40"
|
||||||
tracing-subscriber = { version = "0.3.18", features = ["fmt", "tracing-log", "env-filter"] }
|
tracing-subscriber = { version = "0.3.18", features = ["fmt", "tracing-log", "env-filter"] }
|
||||||
[target.'cfg(target_os = "android")'.dependencies]
|
|
||||||
tracing-android = "0.2.0"
|
tracing-android = "0.2.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ use tokio::task::JoinHandle;
|
|||||||
use tor_config::Listen;
|
use tor_config::Listen;
|
||||||
use tor_rtcompat::tokio::TokioNativeTlsRuntime;
|
use tor_rtcompat::tokio::TokioNativeTlsRuntime;
|
||||||
use tor_rtcompat::ToplevelBlockOn;
|
use tor_rtcompat::ToplevelBlockOn;
|
||||||
|
#[allow(unused_imports)]
|
||||||
use tracing::{debug, error, info, warn};
|
use tracing::{debug, error, info, warn};
|
||||||
use tracing_subscriber::fmt::Subscriber;
|
use tracing_subscriber::fmt::Subscriber;
|
||||||
use tracing_subscriber::layer::SubscriberExt;
|
use tracing_subscriber::layer::SubscriberExt;
|
||||||
|
|||||||
Reference in New Issue
Block a user