Mulberry/Cargo.toml
astar76 5e00b7d6e1 Windows port, AppImage and Windows installer packaging
- Gate MPRIS, tray (zbus/ksni) and the unix-socket single instance to unix;
  Windows gets stub modules and a loopback-TCP single instance
- Use %APPDATA%/%LOCALAPPDATA% on Windows, hide the console window
- build.rs embeds the icon and version resource on Windows targets
- packaging/appimage.sh builds the AppImage with the libmpv library closure
- packaging/mulberry.iss: per-user Inno Setup installer

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 18:54:17 -05:00

55 lines
1.5 KiB
TOML

[package]
name = "mulberry"
version = "2.0.1"
edition = "2021"
description = "A Material You music player for Linux"
license = "MIT"
[dependencies]
eframe = { version = "0.37", default-features = false, features = ["glow", "wayland", "x11", "default_fonts", "system_fonts"] }
rusqlite = { version = "0.41", features = ["bundled"] }
lofty = "0.25"
libmpv2 = "6"
image = { version = "0.25", default-features = false, features = ["jpeg", "png", "webp", "gif", "bmp"] }
ureq = { version = "3", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rustfft = "6"
rand = "0.9"
sha1 = "0.10"
resvg = { version = "0.45", default-features = false }
regex = "1"
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
urlencoding = "2"
md5 = "0.8"
base64 = "0.22"
dirs = "6"
[target.'cfg(unix)'.dependencies]
ksni = { version = "0.3", default-features = false, features = ["async-io", "blocking"] }
rfd = { version = "0.17", default-features = false, features = ["xdg-portal", "pollster"] }
zbus = "5"
[target.'cfg(windows)'.dependencies]
rfd = { version = "0.17", default-features = false }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 4
strip = true
[lib]
name = "mulberry"
path = "src/lib.rs"
[[bin]]
name = "mulberry"
path = "src/main.rs"
[dev-dependencies]
egui_kittest = { version = "0.37", features = ["wgpu", "eframe"] }
[patch.crates-io]
# winit 0.30 cannot receive file drops on Wayland; this copy adds wl_data_device support
winit = { path = "vendor/winit" }