[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"] } 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"] } [target.'cfg(target_os = "macos")'.dependencies] libc = "0.2.153" objc = "0.2.7" cocoa = "0.25.0" objc_id = "0.1.1" [target.'cfg(target_os = "linux")'.dependencies] mpris = "2.0.1" [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" ], ]