Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jan 22, 2024
1 parent 000119d commit ca6a06c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/re_data_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ deadlock_detection = ["parking_lot/deadlock_detection"]
re_error.workspace = true
re_format = { workspace = true, features = ["arrow"] }
re_log_types.workspace = true
re_log.workspace = true
re_log = { workspace = true, features = ["setup"] }
re_tracing.workspace = true
re_types_core.workspace = true

Expand Down
5 changes: 3 additions & 2 deletions crates/re_data_store/src/test_util.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use std::sync::atomic::{AtomicBool, Ordering};

use re_log_types::DataTable;

use crate::{DataStore, DataStoreConfig, WriteError};
Expand Down Expand Up @@ -82,7 +80,10 @@ pub fn insert_table_with_retries(store: &mut DataStore, table: &DataTable) {
}
}

#[cfg(not(target_arch = "wasm32"))]
pub fn init_logs() {
use std::sync::atomic::{AtomicBool, Ordering};

static INIT: AtomicBool = AtomicBool::new(false);

if INIT
Expand Down
2 changes: 1 addition & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ deny = [
{ name = "openssl" }, # We prefer rustls
{ name = "reqwest" }, # We prefer ureq - less dependencies
]

skip = [
{ name = "ahash" }, # Popular crate + fast release schedule = lots of crates still using old versions
{ name = "async-fs" }, # Old version via accesskit
Expand All @@ -59,6 +58,7 @@ skip = [
{ name = "memoffset" }, # Small crate
{ name = "prettyplease" }, # Old version being used by prost
{ name = "raw-window-handle" }, # Awaiting new wgpu release
{ name = "redox_syscall" }, # Plenty of versions in the wild
{ name = "spin" }, # Old version used by rusttls
{ name = "windows" }, # Old version used by accesskit_windows, newer version used by wgpu
]
Expand Down

0 comments on commit ca6a06c

Please sign in to comment.