Files
tauri-plugins-workspace/plugins/single-instance/Cargo.toml
T
JGuest121andLucas Nogueira aedd883cf3 fix(single-instance): release the lock on cleanup_before_exit instead of RunEvent::Exit (#3482)
* add configurable destroy_on_exit to single instance plugin

* add change file

* document destroy_on_exit

* move the destroy to rely on the Resource close

* add integration test

* fix android/ios

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-16 16:06:24 -03:00

54 lines
1.5 KiB
TOML

[package]
name = "tauri-plugin-single-instance"
version = "2.5.4"
description = "Ensure a single instance of your tauri app is running."
authors = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
exclude = ["/banner.png", "/examples"]
[package.metadata.platforms.support]
windows = { level = "full", notes = "" }
linux = { level = "full", notes = "" }
macos = { level = "full", notes = "" }
android = { level = "none", notes = "" }
ios = { level = "none", notes = "" }
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
tauri = { workspace = true }
tracing = { workspace = true }
thiserror = { workspace = true }
tauri-plugin-deep-link = { path = "../deep-link", version = "2.6.2", optional = true }
semver = { version = "1", optional = true }
tokio = { version = "1", features = ["net"] }
[dev-dependencies]
tauri = { workspace = true, features = ["test"] }
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_System_Threading",
"Win32_System_DataExchange",
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_Graphics_Gdi",
]
[target."cfg(target_os = \"windows\")".dev-dependencies.windows-sys]
version = "0.61"
features = ["Win32_UI_WindowsAndMessaging"]
[target."cfg(target_os = \"linux\")".dependencies]
zbus = { workspace = true }
[features]
semver = ["dep:semver"]
deep-link = ["dep:tauri-plugin-deep-link"]