diff --git a/app/analysis_options.yaml b/app/analysis_options.yaml index 1c3e6755..66d611ad 100644 --- a/app/analysis_options.yaml +++ b/app/analysis_options.yaml @@ -31,6 +31,8 @@ analyzer: - "**.swagger.dart" - "**.freezed.dart" - "**.chopper.dart" + - "build/**" + - "test/drift/**" # For more information about the core and recommended set of lints, see # https://dart.dev/go/core-lints diff --git a/packages/tor/rust/Cargo.toml b/packages/tor/rust/Cargo.toml index 3e62c8e4..4c993439 100644 --- a/packages/tor/rust/Cargo.toml +++ b/packages/tor/rust/Cargo.toml @@ -25,7 +25,6 @@ anyhow = "1.0.100" time = "0.3.44" tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["fmt", "tracing-log", "env-filter"] } -[target.'cfg(target_os = "android")'.dependencies] tracing-android = "0.2.0" [build-dependencies] diff --git a/packages/tor/rust/src/lib.rs b/packages/tor/rust/src/lib.rs index bd14a844..88097dda 100644 --- a/packages/tor/rust/src/lib.rs +++ b/packages/tor/rust/src/lib.rs @@ -16,6 +16,7 @@ use tokio::task::JoinHandle; use tor_config::Listen; use tor_rtcompat::tokio::TokioNativeTlsRuntime; use tor_rtcompat::ToplevelBlockOn; +#[allow(unused_imports)] use tracing::{debug, error, info, warn}; use tracing_subscriber::fmt::Subscriber; use tracing_subscriber::layer::SubscriberExt;