run cargo fmt

Remove unused cfg-if and release_channel deps from crashes crate

Update Cargo.lock
This commit is contained in:
G36maid 2026-05-14 17:45:11 +08:00
parent cbacd2e2a9
commit 487ea9ff0d
3 changed files with 12 additions and 6 deletions

2
Cargo.lock generated
View file

@ -4144,7 +4144,6 @@ name = "crashes"
version = "0.1.0"
dependencies = [
"async-process",
"cfg-if",
"crash-handler",
"futures 0.3.32",
"log",
@ -4152,7 +4151,6 @@ dependencies = [
"minidumper",
"parking_lot",
"paths",
"release_channel",
"serde",
"serde_json",
"system_specs",

View file

@ -6,11 +6,9 @@ edition.workspace = true
license = "GPL-3.0-or-later"
[dependencies]
cfg-if.workspace = true
futures.workspace = true
log.workspace = true
parking_lot.workspace = true
release_channel.workspace = true
serde.workspace = true
serde_json.workspace = true

View file

@ -35,7 +35,12 @@ mod platform;
pub mod prelude;
/// Profiling utilities for task timing and thread performance tracking.
pub mod profiler;
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "freebsd", target_family = "wasm"))]
#[cfg(any(
target_os = "windows",
target_os = "linux",
target_os = "freebsd",
target_family = "wasm"
))]
#[expect(missing_docs)]
pub mod queue;
mod scene;
@ -102,7 +107,12 @@ pub use keymap::*;
pub use path_builder::*;
pub use platform::*;
pub use profiler::*;
#[cfg(any(target_os = "windows", target_os = "linux", target_os = "freebsd", target_family = "wasm"))]
#[cfg(any(
target_os = "windows",
target_os = "linux",
target_os = "freebsd",
target_family = "wasm"
))]
pub use queue::{PriorityQueueReceiver, PriorityQueueSender};
pub use refineable::*;
pub use scene::*;