-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
66 lines (55 loc) · 1.71 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "current-song-2"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Display the currently playing song/audio."
keywords = ["overlay", "obs", "stream"]
authors = ["Nerixyz"]
repository = "https://github.com/Nerixyz/current-song2"
categories = ["multimedia"] # TODO: find something more fitting
[workspace]
members = [".", "lib/win-gsmtc", "lib/win-wrapper", "lib/mpris-dbus"]
[features]
# When enabled, the overlay will be bundled into the executable.
single-executable = []
# When enabled, the executable will be compiled with the WINDOWS subsytem
# over the default CONSOLE subsystem.
win32-executable = []
default = ["single-executable", "win32-executable"]
[[bin]]
name = "current-song2"
path = "src/main.rs"
[dependencies]
tokio = { version = "1.43", features = ["sync", "fs"] }
tokio-stream = { version = "0.1", features = ["sync"] }
futures = "0.3"
actix = "0.13"
actix-web = { version = "4.9", features = ["compress-brotli"] }
actix-files = "0.6"
actix-web-actors = "4.3"
actix-cors = "0.7"
actix-web-static-files = "4.0"
static-files = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
anyhow = "1.0"
lazy_static = "1.5"
tap = "1.0"
thiserror = "2.0"
tracing = "0.1"
tracing-log = "0.2"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
tracing-actix-web = "0.7"
tracing-actix = "0.4"
tracing-appender = "0.2"
[target.'cfg(windows)'.dependencies]
win-gsmtc = { path = "lib/win-gsmtc" }
win-wrapper = { path = "lib/win-wrapper" }
windows = "0.59"
win-msgbox = "0.2"
[target.'cfg(unix)'.dependencies]
mpris-dbus = { path = "lib/mpris-dbus" }
[build-dependencies]
actix-web-static-files = "4.0"