[package] name = "tauri-plugin-notification" version = "1.0.0" edition = { workspace = true } authors = { workspace = true } license = { workspace = true } links = "tauri-plugin-notification" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] tauri-build = { workspace = true } [dependencies] serde = { workspace = true } serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } rand = "0.8" time = { version = "0.3", features = ["serde", "parsing", "formatting"] } url = { version = "2", features = ["serde"] } serde_repr = "0.1" [target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] notify-rust = "4.5" [target."cfg(windows)".dependencies] win7-notifications = { version = "0.3.1", optional = true } [features] windows7-compat = [ "win7-notifications" ]