]> git.r.bdr.sh - rbdr/lyricli/blame - Cargo.toml
Copy .env
[rbdr/lyricli] / Cargo.toml
CommitLineData
738ec06d
RBR
1[package]
2name = "lyricli"
3version = "3.0.0"
4edition = "2021"
5license = "AGPL-3.0-or-later"
6description = "Lyricli (lrc), is a command line tool to print lyrics in your terminal."
7homepage = "https://r.bdr.sh/lyricli.html"
8authors = ["Rubén Beltrán del Río <lyricli@r.bdr.sh>"]
9
10[[bin]]
11name = "lrc"
12path = "src/main.rs"
13
14[dependencies]
15clap = { version = "4.5.2", features = ["derive"] }
738ec06d
RBR
16percent-encoding = "2.3.1"
17reqwest = { version = "0.11", features = ["json"] }
18scraper = "0.19.0"
19serde = { version = "1.0.197", features = ["derive"] }
20serde_json = "1.0.114"
21tokio = { version = "1", features = ["full"] }
22
44e7b4de
RBR
23[target.'cfg(target_os = "macos")'.dependencies]
24libc = "0.2.153"
25objc = "0.2.7"
26cocoa = "0.25.0"
27objc_id = "0.1.1"
28
040b91a7
RBR
29[target.'cfg(target_os = "linux")'.dependencies]
30mpris = "2.0.1"
31
738ec06d
RBR
32[profile.release]
33strip = true
34lto = true
35panic = "abort"
36
37[package.metadata.generate-rpm]
38assets = [
39 { source = "target/release/lrc", dest = "/usr/bin/lrc", mode = "755" },
40 { source = "man/lrc.1", dest = "/usr/share/man/man1/lrc.1", mode = "644" },
41]
42
43[package.metadata.deb]
44assets = [
45 ["target/release/lrc", "/usr/bin/lrc", "755" ],
46 ["man/lrc.1", "/usr/share/man/man1/lrc.1", "644" ],
47]