mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
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>
This commit is contained in:
@@ -16,6 +16,7 @@ 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"
|
||||
@@ -31,3 +32,6 @@ features = [
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
zbus = "3"
|
||||
|
||||
[features]
|
||||
semver = ["dep:semver"]
|
||||
Reference in New Issue
Block a user