mirror of
https://github.com/atdunbg/Nekosonic-Music.git
synced 2026-08-06 03:44:18 +08:00
- 详情页统一 DetailLayout 组件(常驻头部 + 独立滚动 + 紧凑态动画) - 歌曲/评论 tab 切换(懒加载 + 保活),专辑模糊搜索 - 皮肤系统 skins.ts(19 语义色 + 14 预设 + 自定义皮肤 + 壁纸) - 设置页皮肤模块(外观/主题色/皮肤编辑器/壁纸选择) - 可折叠侧边栏 + TopBar + 折叠态歌单浮层(高度不越 PlayerBar) - 首页扩展至 6 区块 + 通用卡片组件 + 虚拟歌曲列表 - audio.rs 拆为 8 模块,api.ts 拆为 api/ 目录,player store 拆为 4 store - 修复播放竞态、seek 暂停、评论提前加载、紧凑态卡死等
59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[package]
|
|
name = "Nekosonic"
|
|
version = "0.8.0"
|
|
description = "A Simple music app"
|
|
authors = ["atdunbg"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "demo_lib"
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = ["tray-icon"] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-single-instance = "2"
|
|
tauri-plugin-global-shortcut = "2"
|
|
tauri-plugin-dialog = "2"
|
|
symphonia = { version = "0.5", features = ["mp3", "aac", "flac", "wav", "ogg", "vorbis", "isomp4", "mkv"] }
|
|
ringbuf = "0.4"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
cpal = { version = "0.15" }
|
|
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls", "stream"] }
|
|
futures-util = "0.3"
|
|
dirs = "5"
|
|
lofty = "0.22"
|
|
base64 = "0.22"
|
|
md5 = "0.7"
|
|
|
|
ncm-api-rs = "0.1"
|
|
tokio = { version = "1", features = ["rt", "sync"] }
|
|
tauri-plugin-process = "2.3.1"
|
|
tauri-plugin-updater = "2"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
souvlaki = { version = "0.8", default-features = false, features = ["use_zbus"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
souvlaki = "0.8"
|
|
raw-window-handle = "0.6"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
souvlaki = "0.8"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
opt-level = "s"
|