Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

4.6 KB
Raw Blame
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.93"
name = "tauri-plugin-notifications"
version = "0.5.0-rc.14"
authors = ["You"]
build = "build.rs"
links = "tauri-plugin-notifications"
exclude = [
    "/examples",
    "/dist-js",
    "/guest-js",
    "/node_modules",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Tauri v2 plugin for sending notifications on desktop and mobile platforms with support for system notifications and push delivery via FCM and APNs."
readme = "README.md"
keywords = [
    "tauri",
    "notifications",
    "push-notifications",
    "toast",
    "desktop",
]
categories = [
    "api-bindings",
    "gui",
    "os",
]
license = "MIT"
repository = "https://github.com/Choochmeque/tauri-plugin-notifications"

[features]
default = ["notify-rust"]
notify-rust = ["dep:notify-rust"]
push-notifications = [
    "dep:zbus",
    "dep:tokio",
    "dep:uuid",
]

[lib]
name = "tauri_plugin_notifications"
path = "src/lib.rs"

[[test]]
name = "xdg_lifecycle"
path = "tests/xdg_lifecycle.rs"

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.10"

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_repr]
version = "0.1"

[dependencies.tauri]
version = "2"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "parsing",
    "formatting",
]

[dependencies.url]
version = "2"
features = ["serde"]

[dev-dependencies.color-backtrace]
version = "0.7"

[dev-dependencies.ctor]
version = "1.0"

[dev-dependencies.maplit]
version = "1"

[build-dependencies.tauri-plugin]
version = "2"
features = ["build"]

[target.'cfg(all(target_os = "linux", not(target_os = "android")))'.dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "time",
]
optional = true
default-features = false

[target.'cfg(all(target_os = "linux", not(target_os = "android")))'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "fast-rng",
]
optional = true
default-features = false

[target.'cfg(all(target_os = "linux", not(target_os = "android")))'.dependencies.zbus]
version = "5"
features = ["tokio"]
optional = true
default-features = false

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.notify-rust]
version = "4.18"

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dev-dependencies.tauri]
version = "2"
features = ["test"]
default-features = false

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
]

[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dev-dependencies.zbus]
version = "5"
features = ["async-io"]
default-features = false

[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.notify-rust]
version = "4.18"
optional = true

[target.'cfg(target_os = "ios")'.dependencies.tauri]
version = "2"
features = ["wry"]

[target.'cfg(target_os = "macos")'.dependencies.swift-bridge]
version = "0.1"
features = ["async"]

[target.'cfg(target_os = "macos")'.build-dependencies.swift-bridge-build]
version = "0.1"

[target.'cfg(target_os = "macos")'.build-dependencies.swift-rs]
version = "1.0.7"
features = ["build"]

[target.'cfg(target_os = "windows")'.dependencies.nt-time]
version = "0.15"

[target.'cfg(target_os = "windows")'.dependencies.uuid]
version = "1"
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61"
# Vendored patch: "Foundation_Collections" (toast input boxes arrive as a
# `ValueSet` via `ToastActivatedEventArgs::UserInput`) plus the registry /
# message-loop features the unpackaged-app activator registration needs.
features = [
    "ApplicationModel",
    "Data_Xml_Dom",
    "Foundation",
    "Foundation_Collections",
    "Networking_PushNotifications",
    "UI_Notifications",
    "Win32_Foundation",
    "Win32_Security",
    "Win32_System_Com",
    "Win32_System_Registry",
    "Win32_UI_Notifications",
    "Win32_UI_WindowsAndMessaging",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.61"