mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
3e5da59abc
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
57 lines
1.7 KiB
TOML
57 lines
1.7 KiB
TOML
[package]
|
|
name = "tauri-plugin-notification"
|
|
version = "2.0.0-beta.4"
|
|
description = "Send desktop and mobile notifications on your Tauri application."
|
|
edition = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
repository = { workspace = true }
|
|
links = "tauri-plugin-notification"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustc-args = [ "--cfg", "docsrs" ]
|
|
rustdoc-args = [ "--cfg", "docsrs" ]
|
|
targets = [ "x86_64-unknown-linux-gnu", "x86_64-linux-android" ]
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = [ "build" ] }
|
|
|
|
[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(windows)".dependencies]
|
|
win7-notifications = { version = "0.4.3", optional = true }
|
|
windows-version = { version = "0.1", optional = true }
|
|
|
|
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
|
|
lazy_static = { version = "1", optional = true }
|
|
zbus = { version = "4", optional = true }
|
|
log = "0.4"
|
|
env_logger = { version = "0.10", optional = true }
|
|
|
|
[target."cfg(target_os=\"macos\")".dependencies]
|
|
mac-notification-sys = "0.6"
|
|
chrono = { version = "0.4", optional = true }
|
|
|
|
[target."cfg(target_os=\"windows\")".dependencies]
|
|
winrt-notification = { package = "tauri-winrt-notification", version = "0.2" }
|
|
|
|
[dev-dependencies]
|
|
color-backtrace = "0.6"
|
|
ctor = "0.2"
|
|
maplit = "1.0"
|
|
|
|
[features]
|
|
default = [ "zbus", "async" ]
|
|
async = [ ]
|
|
windows7-compat = [ "win7-notifications", "windows-version" ]
|