-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (45 loc) · 1.34 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
[package]
name = "lure"
description = "Display your currently playing track from Last.fm, ListenBrainz, and other services in your Revolt status."
repository = "https://github.com/catuhana/lure"
authors = ["tuhana <[email protected]>"]
license = "MPL-2.0"
version = "0.4.0"
rust-version = "1.80"
edition = "2021"
[profile.release]
opt-level = "z"
lto = "fat"
[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.17", features = ["derive"] }
figment = { version = "0.10.19", features = ["env", "yaml"], optional = true }
figment_file_provider_adapter = { version = "0.1.1", optional = true }
inquire = { version = "0.7.5", default-features = false, features = [
"crossterm",
] }
regex = "1.10.6"
reqwest = { version = "0.12.7", features = ["json"] }
rive-models = "1.2.1"
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
thiserror = "2.0.0"
tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
[features]
default = ["services-lastfm", "services-listenbrainz"]
services-lastfm = [
"dep:figment",
"dep:figment_file_provider_adapter",
"tokio/sync",
"tokio/signal",
"tokio/time",
]
services-listenbrainz = [
"dep:figment",
"dep:figment_file_provider_adapter",
"tokio/sync",
"tokio/signal",
"tokio/time",
]