Files
tauri-plugins-workspace/plugins/single-instance/Cargo.toml
T
matthme 4210cf316a feat(single-instance): Add semver compatibility check for Windows and Linux (#502)
* added semver compatibility check for Windows and Linux

* fixed formatting

* put semver feature behind a feature flag

* remove semver from root manifest

* linux compile error

* docs: Add mention for semver feature in readme

---------

Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2024-04-15 15:54:09 +02:00

37 lines
997 B
TOML

[package]
name = "tauri-plugin-single-instance"
version = "0.0.0"
description = "Ensure a single instance of your tauri app is running."
authors = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
exclude = ["/examples"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
semver = { version = "1", optional = true }
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.52"
features = [
"Win32_System_Threading",
"Win32_System_DataExchange",
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_Graphics_Gdi",
]
[target.'cfg(target_os = "linux")'.dependencies]
zbus = "3"
[features]
semver = ["dep:semver"]