-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (74 loc) · 2.43 KB
/
Copy pathCargo.toml
File metadata and controls
83 lines (74 loc) · 2.43 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 = "cosmic-widget-applet"
version = "0.1.0"
edition = "2024"
license = "MPL-2.0"
description = "System resource monitor widget for COSMIC"
repository = "https://github.com/zoliviragh/cosmic-widget-applet"
[[bin]]
name = "cosmic-widget-applet"
path = "src/main.rs"
[[bin]]
name = "cosmic-widget"
path = "src/widget_main.rs"
[[bin]]
name = "cosmic-widget-settings"
path = "src/settings_main.rs"
[[bin]]
name = "cosmic-widget-iced"
path = "src/iced_widget_main.rs"
[dependencies]
futures-util = "0.3.31"
hidapi = { version = "2.6.6", default-features = false, features = ["linux-native-basic-udev"] }
i18n-embed-fl = "0.10"
rust-embed = "8.7.2"
sysinfo = "0.32"
tokio = { version = "1.48.0", features = ["full"] }
chrono = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_bencode = "0.2.4"
# Bandcamp requires ALPN negotiation for artwork metadata requests.
reqwest = { version = "0.12", features = ["json", "blocking", "native-tls-alpn"] }
scraper = { version = "0.27", default-features = false }
urlencoding = "2.1"
log = "0.4"
env_logger = "0.11"
dirs = "5.0"
zbus = "4.0"
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
nvml-wrapper = "0.12.1"
# Wayland layer-shell dependencies for widget
smithay-client-toolkit = { version = "0.20", default-features = false, features = ["calloop"] }
wayland-client = "0.31"
wayland-protocols-wlr = { version = "0.3", features = ["client"] }
cairo-rs = { version = "0.20", features = ["png"] }
pango = "0.20"
pangocairo = "0.20"
libc = "0.2.177"
[dependencies.i18n-embed]
version = "0.16"
features = ["fluent-system", "desktop-requester"]
[dependencies.libcosmic]
git = "https://github.com/pop-os/libcosmic.git"
# See https://github.com/pop-os/libcosmic/blob/master/Cargo.toml for available features.
features = [
# Applet support
"applet",
"applet-token",
# Uses cosmic-settings-daemon to watch for config file changes
"dbus-config",
# Support creating additional application windows.
"multi-window",
# Uses tokio as the executor for the runtime
"tokio",
# Add Wayland support to winit
"wayland",
# Windowing support for X11, Windows, Mac, & Redox
"winit",
]
# Uncomment to test a locally-cloned libcosmic
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }