-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (76 loc) · 3.33 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (76 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "rustywiim"
version = "0.13.1"
edition = "2021"
license = "MIT"
description = "Control WiiM and LinkPlay network audio players over LAN"
homepage = "https://github.com/ozbenh/rustywiim"
repository = "https://github.com/ozbenh/rustywiim"
[dependencies]
gtk = { package = "gtk4", version = "0.9", features = ["v4_12"] }
glib = "0.20"
adw = { package = "libadwaita", version = "0.7", features = ["v1_5"] }
reqwest = { version = "0.12", features = ["json", "native-tls"], default-features = false }
tokio = { version = "1", features = ["rt-multi-thread", "net", "time", "macros", "sync", "signal"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-channel = "2"
dirs = "5"
anyhow = "1"
socket2 = { version = "0.5", features = ["all"] }
base64 = "0.22"
chrono = "0.4"
serde_yaml = "0.9"
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
tar = "0.4"
tiny_http = { version = "0.12", default-features = false, features = ["ssl-openssl"] }
rcgen = "0.14"
resvg = { version = "0.47", default-features = false }
pangocairo = "0.20"
[target.'cfg(target_os = "macos")'.dependencies]
gdk4-macos = "0.11"
gdk4-macos-sys = { version = "0.11", features = ["v4_8"] }
objc2 = "0.6"
objc2-app-kit = {version = "0.3", features = ["NSWindow"] }
[package.metadata.deb]
maintainer = "Benjamin Herrenschmidt <benh@kernel.crashing.org>"
copyright = "2026, Benjamin Herrenschmidt"
license-file = ["LICENSE", "0"]
extended-description = """\
RustyWiiM is a GTK4/libadwaita desktop app for controlling WiiM and \
LinkPlay network audio players over their LAN HTTP API — playback, volume, \
input/output switching, presets, and device discovery."""
section = "sound"
priority = "optional"
depends = "$auto"
assets = [
["target/release/rustywiim", "usr/bin/", "755"],
["data/io.github.ozbenh.rustywiim.desktop", "usr/share/applications/", "644"],
["src/ui/icons/rustywiim-icon.svg", "usr/share/icons/hicolor/scalable/apps/io.github.ozbenh.rustywiim.svg", "644"],
# Diagnostic/testing tools, not for general use — kept out of /usr/bin
# (and the user's PATH) deliberately.
["target/release/wiim-capture", "usr/libexec/rustywiim/", "755"],
["target/release/wiim-capdump", "usr/libexec/rustywiim/", "755"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/rustywiim", dest = "/usr/bin/rustywiim", mode = "755" },
{ source = "data/io.github.ozbenh.rustywiim.desktop", dest = "/usr/share/applications/io.github.ozbenh.rustywiim.desktop", mode = "644" },
{ source = "src/ui/icons/rustywiim-icon.svg", dest = "/usr/share/icons/hicolor/scalable/apps/io.github.ozbenh.rustywiim.svg", mode = "644" },
# Diagnostic/testing tools, not for general use — kept out of /usr/bin
# (and the user's PATH) deliberately.
{ source = "target/release/wiim-capture", dest = "/usr/libexec/rustywiim/wiim-capture", mode = "755" },
{ source = "target/release/wiim-capdump", dest = "/usr/libexec/rustywiim/wiim-capdump", mode = "755" },
]
[package.metadata.generate-rpm.requires]
gtk4 = ">= 4.12"
libadwaita = ">= 1.5"
[package.metadata.bundle]
name = "RustyWiiM"
identifier = "io.github.ozbenh.rustywiim"
icon = ["target/icons/RustyWiiM.icns"]
category = "public.app-category.music"
copyright = "2026 Benjamin Herrenschmidt"
license= "MIT"
[package.metadata.bundle.macos]
minimum_system_version = "13.0"