X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli/blobdiff_plain/738ec06d26a2a19bdda8a992d2250e731d954631..c5c243ff9e531c571bc09170e697b692e43f978b:/Cargo.toml?ds=sidebyside diff --git a/Cargo.toml b/Cargo.toml index 89aacad..cb0850d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,8 +13,6 @@ 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" @@ -22,6 +20,15 @@ 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