perf(linux): cut OpenGL RSS via isolated auth/Vulkan helpers, malloc_trim, 1024 atlas (v0.1.3)

This commit is contained in:
marwy 2026-11-27 17:25:15 +03:00
parent 19ceef9f74
commit 0b2561503f
9 changed files with 175 additions and 23 deletions

View file

@ -1,9 +1,22 @@
[package]
name = "yandex-music-rs"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
description = "Native high-performance, ultra-low-RAM Yandex Music desktop client in Rust + ash Vulkan SDF + taffy + cosmic-text"
[features]
default = []
linux-webview = ["dep:wry", "dep:gtk"]
[[bin]]
name = "yandex-music-rs"
path = "src/main.rs"
[[bin]]
name = "yandex-music-auth"
path = "src/bin/yandex_music_auth.rs"
required-features = ["linux-webview"]
[dependencies]
# Core Windowing & Native UI Engine (ash SDF + taffy + cosmic-text)
winit = "0.30"
@ -68,8 +81,8 @@ windows-sys = { version = "0.59", features = [
] }
[target.'cfg(target_os = "linux")'.dependencies]
wry = { version = "0.51", default-features = false, features = ["os-webview"] }
gtk = "0.18"
wry = { version = "0.51", default-features = false, features = ["os-webview"], optional = true }
gtk = { version = "0.18", optional = true }
[build-dependencies]
naga = { version = "24", features = ["wgsl-in", "spv-out"] }
@ -94,6 +107,7 @@ recommends = "libvulkan1, mesa-vulkan-drivers, libgl1, libegl1"
maintainer-scripts = "packaging/debian"
assets = [
["target/release/yandex-music-rs", "usr/bin/", "755"],
["target/release/yandex-music-auth", "usr/bin/", "755"],
["assets/icons/app_icon.png", "usr/share/pixmaps/yandex-music-rs.png", "644"],
["assets/icons/app_48.png", "usr/share/icons/hicolor/48x48/apps/yandex-music-rs.png", "644"],
["packaging/icons/64x64.png", "usr/share/icons/hicolor/64x64/apps/yandex-music-rs.png", "644"],