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",
"rand",
"rustc-hash 2.1.1",
"rustix 1.0.7",
"send_wrapper",
"serde",
"serde_repr",
"slotmap",
@@ -5490,7 +5488,6 @@ dependencies = [
"tracing-subscriber",
"tracing-tracy",
"vulkano",
"wayland-scanner",
"waynest",
"wgpu-hal",
"xkbcommon-rs",

View File

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