refactor: remove unnecessary dependencies

This commit is contained in:
Nova
2025-07-18 18:12:06 -07:00
parent 9466e97dd1
commit c9d2f92142
2 changed files with 40 additions and 40 deletions

3
Cargo.lock generated
View File

@@ -5475,8 +5475,6 @@ dependencies = [
"parking_lot 0.12.4", "parking_lot 0.12.4",
"rand", "rand",
"rustc-hash 2.1.1", "rustc-hash 2.1.1",
"rustix 1.0.7",
"send_wrapper",
"serde", "serde",
"serde_repr", "serde_repr",
"slotmap", "slotmap",
@@ -5490,7 +5488,6 @@ dependencies = [
"tracing-subscriber", "tracing-subscriber",
"tracing-tracy", "tracing-tracy",
"vulkano", "vulkano",
"wayland-scanner",
"waynest", "waynest",
"wgpu-hal", "wgpu-hal",
"xkbcommon-rs", "xkbcommon-rs",

View File

@@ -23,15 +23,15 @@ path = "src/main.rs"
[features] [features]
default = ["wayland"] default = ["wayland"]
wayland = [ wayland = [
"dep:cluFlock", "dep:cluFlock",
"dep:waynest", "dep:waynest",
"dep:tokio-stream", "dep:tokio-stream",
"dep:memmap2", "dep:memmap2",
"dep:drm-fourcc", "dep:drm-fourcc",
"dep:memfd", "dep:memfd",
"dep:vulkano", "dep:vulkano",
"dep:wgpu-hal", "dep:wgpu-hal",
"dep:ash", "dep:ash",
] ]
profile_tokio = ["dep:console-subscriber", "tokio/tracing"] profile_tokio = ["dep:console-subscriber", "tokio/tracing"]
profile_app = ["dep:tracing-tracy", "bevy/trace_tracy", "bevy/trace"] profile_app = ["dep:tracing-tracy", "bevy/trace_tracy", "bevy/trace"]
@@ -41,6 +41,12 @@ bevy_debugging = ["bevy/bevy_remote", "bevy/track_location"]
auto_link = true auto_link = true
auto_link_exclude_list = ["libc*", "libdl*", "libpthread*", "ld-linux*"] auto_link_exclude_list = ["libc*", "libdl*", "libpthread*", "ld-linux*"]
[profile.release]
lto = true
strip = true
opt-level = 3
[profile.dev.package."*"] [profile.dev.package."*"]
opt-level = 3 opt-level = 3
@@ -55,7 +61,6 @@ nanoid = "0.4.0"
lazy_static = "1.5.0" lazy_static = "1.5.0"
rand = "0.8.5" rand = "0.8.5"
rustc-hash = "2.0.0" rustc-hash = "2.0.0"
send_wrapper = "0.6.0"
slotmap = "1.0.7" slotmap = "1.0.7"
global_counter = "=0.2.2" global_counter = "=0.2.2"
parking_lot = "0.12.3" parking_lot = "0.12.3"
@@ -82,28 +87,28 @@ tokio = { version = "1.39.2", features = ["rt-multi-thread", "signal", "time"] }
# bevy # bevy
bevy = { version = "0.16", default-features = false, features = [ bevy = { version = "0.16", default-features = false, features = [
"bevy_asset", "bevy_asset",
"bevy_audio", "bevy_audio",
"bevy_color", "bevy_color",
"bevy_core_pipeline", "bevy_core_pipeline",
"bevy_gizmos", "bevy_gizmos",
"bevy_gltf", "bevy_gltf",
"bevy_log", "bevy_log",
"bevy_pbr", "bevy_pbr",
"bevy_render", "bevy_render",
"bevy_window", "bevy_window",
"bevy_winit", "bevy_winit",
"std", "std",
"x11", "x11",
"wayland", "wayland",
"mp3", "mp3",
"wav", "wav",
"qoi", "qoi",
"png", "png",
"hdr", "hdr",
"jpeg", "jpeg",
"tonemapping_luts", "tonemapping_luts",
"multi_threaded", "multi_threaded",
] } ] }
bevy_mod_xr = "0.3" bevy_mod_xr = "0.3"
bevy_mod_openxr = "0.3" bevy_mod_openxr = "0.3"
@@ -123,8 +128,6 @@ input-event-codes = "6.2.0"
zbus = { version = "5.0.0", default-features = false, features = ["tokio"] } zbus = { version = "5.0.0", default-features = false, features = ["tokio"] }
directories = "5.0.1" directories = "5.0.1"
xkbcommon-rs = "0.1.0" xkbcommon-rs = "0.1.0"
rustix = "1.0.7"
wayland-scanner = { version = "0.31.4", optional = true }
cosmic-text = "0.14.2" cosmic-text = "0.14.2"
# Wayland # Wayland
@@ -135,9 +138,9 @@ cluFlock = { version = "1.2.7", optional = true } # for the lockfile checking
# "tracing", # "tracing",
# ], default-features = false, optional = true } # ], default-features = false, optional = true }
waynest = { git = "https://github.com/technobaboo/waynest.git", branch = "fix/fd_clear", features = [ waynest = { git = "https://github.com/technobaboo/waynest.git", branch = "fix/fd_clear", features = [
"server", "server",
"stable", "stable",
"tracing", "tracing",
], default-features = false, optional = true } ], default-features = false, optional = true }
tokio-stream = { version = "0.1.17", optional = true } tokio-stream = { version = "0.1.17", optional = true }
memmap2 = { version = "0.9.5", optional = true } memmap2 = { version = "0.9.5", optional = true }