X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/4adf8d5182b7ad3720e3160e0f4530547625dbce..738ec06d26a2a19bdda8a992d2250e731d954631:/Cargo.toml?ds=inline diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..89aacad --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,40 @@ +[package] +name = "lyricli" +version = "3.0.0" +edition = "2021" +license = "AGPL-3.0-or-later" +description = "Lyricli (lrc), is a command line tool to print lyrics in your terminal." +homepage = "https://r.bdr.sh/lyricli.html" +authors = ["Rubén Beltrán del Río "] + +[[bin]] +name = "lrc" +path = "src/main.rs" + +[dependencies] +clap = { version = "4.5.2", features = ["derive"] } +libc = "0.2.153" +objc = "0.2.7" +percent-encoding = "2.3.1" +reqwest = { version = "0.11", features = ["json"] } +scraper = "0.19.0" +serde = { version = "1.0.197", features = ["derive"] } +serde_json = "1.0.114" +tokio = { version = "1", features = ["full"] } + +[profile.release] +strip = true +lto = true +panic = "abort" + +[package.metadata.generate-rpm] +assets = [ + { source = "target/release/lrc", dest = "/usr/bin/lrc", mode = "755" }, + { source = "man/lrc.1", dest = "/usr/share/man/man1/lrc.1", mode = "644" }, +] + +[package.metadata.deb] +assets = [ + ["target/release/lrc", "/usr/bin/lrc", "755" ], + ["man/lrc.1", "/usr/share/man/man1/lrc.1", "644" ], +]