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