]> git.r.bdr.sh - rbdr/lyricli/blame - Cargo.toml
Add rust implementation test
[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"] }
16libc = "0.2.153"
17objc = "0.2.7"
18percent-encoding = "2.3.1"
19reqwest = { version = "0.11", features = ["json"] }
20scraper = "0.19.0"
21serde = { version = "1.0.197", features = ["derive"] }
22serde_json = "1.0.114"
23tokio = { version = "1", features = ["full"] }
24
25[profile.release]
26strip = true
27lto = true
28panic = "abort"
29
30[package.metadata.generate-rpm]
31assets = [
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]
37assets = [
38 ["target/release/lrc", "/usr/bin/lrc", "755" ],
39 ["man/lrc.1", "/usr/share/man/man1/lrc.1", "644" ],
40]