forked from l1na-forever/mpris-notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
47 lines (37 loc) · 1.25 KB
/
Cargo.toml
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
[package]
name = "mpris-notifier"
authors = ["Lina <[email protected]>"]
version = "0.1.5"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/l1na-forever/mpris-notifier"
description = "Generates XDG desktop notifications for MPRIS status changes (track changes)"
keywords = ["mpris", "xdg", "notifications", "tiny", "notifier"]
[features]
default = ["album-art"]
album-art = ["ureq", "url", "image"]
[dependencies]
# Macro to generate error types from enums
thiserror = "1"
# Pure Rust library for accessing D-Bus.
rustbus = "0.19.1"
# Logging facade and simple output logger
log = "0.4"
simple_logger = "2"
# Minimal, blocking/sync HTTP client used to download album art
ureq = { version = "2.5", optional = true }
# URL parsing library, used to determine how to handle album art URLs
url = { version = "2.2", optional = true }
# Image processing library, used to convert album art into the XDG
# notification image-data format
image = { version = "0.24", optional = true }
# Config file loading
serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
home = "0.5"
# Notificaiton message formatting
regex = "1"
lazy_static = "1"
[dev-dependencies]
# For testing configuration loading
tempfile = "3"