Description: avoid mac-specific crate dependencies Author: Jonas Smedegaard Forwarded: not-needed Last-Update: 2024-09-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,6 @@ "z", # "preview-macos-un" ] -preview-macos-un = ["dep:mac-usernotifications"] # server = [] d = ["dbus"] d_vendored = ["dbus/vendored"] @@ -50,11 +49,6 @@ env_logger = { version = "0.11", optional = true } # TODO: remove from here futures-lite = { version = "2.6.1" } -[target.'cfg(target_os="macos")'.dependencies] -mac-notification-sys = "0.6.15" -mac-usernotifications = { version = "0.3.1", optional = true } -chrono = { version = "0.4", optional = true } - [target.'cfg(target_os="windows")'.dependencies] winrt-notification = { package = "tauri-winrt-notification", version = "0.7" } @@ -68,11 +62,6 @@ version = "1.13.2" features = ["attributes"] -[target.'cfg(target_os="macos")'.dev-dependencies] -oslog = "0.2" -objc2-foundation = "0.3.2" - - [package.metadata.bundle] name = "notify-rust-example" identifier = "de.hoodie.notify-rust.example"