diff --git a/plugins/autostart/Cargo.toml b/plugins/autostart/Cargo.toml index 5dd503e4..7df265ff 100644 --- a/plugins/autostart/Cargo.toml +++ b/plugins/autostart/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-autostart" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/barcode-scanner/Cargo.toml b/plugins/barcode-scanner/Cargo.toml index 5992f852..85d5181c 100644 --- a/plugins/barcode-scanner/Cargo.toml +++ b/plugins/barcode-scanner/Cargo.toml @@ -14,6 +14,14 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "none", notes = "" } +linux = { level = "none", notes = "" } +macos = { level = "none", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/biometric/Cargo.toml b/plugins/biometric/Cargo.toml index 3135d86b..b242dab1 100644 --- a/plugins/biometric/Cargo.toml +++ b/plugins/biometric/Cargo.toml @@ -13,6 +13,14 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "none", notes = "" } +linux = { level = "none", notes = "" } +macos = { level = "none", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/cli/Cargo.toml b/plugins/cli/Cargo.toml index eff2b6f2..ccecff05 100644 --- a/plugins/cli/Cargo.toml +++ b/plugins/cli/Cargo.toml @@ -13,6 +13,14 @@ links = "tauri-plugin-cli" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/clipboard-manager/Cargo.toml b/plugins/clipboard-manager/Cargo.toml index 84ee0464..e25aabd5 100644 --- a/plugins/clipboard-manager/Cargo.toml +++ b/plugins/clipboard-manager/Cargo.toml @@ -14,6 +14,14 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "partial", notes = "Only plain-text content support" } +ios = { level = "partial", notes = "Only plain-text content support" } + + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/deep-link/Cargo.toml b/plugins/deep-link/Cargo.toml index 4f5f5776..9a085493 100644 --- a/plugins/deep-link/Cargo.toml +++ b/plugins/deep-link/Cargo.toml @@ -14,6 +14,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "partial", notes = "Runtime deep link registration is not supported" } +android = { level = "partial", notes = "Runtime deep link registration is not supported" } +ios = { level = "partial", notes = "Runtime deep link registration is not supported" } + [build-dependencies] serde = { workspace = true } serde_json = { workspace = true } diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index b08c5cda..75327f74 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -14,6 +14,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "partial", notes = "Does not support folder picker" } +ios = { level = "partial", notes = "Does not support folder picker" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/fs/Cargo.toml b/plugins/fs/Cargo.toml index 6576b75a..2b4ffcea 100644 --- a/plugins/fs/Cargo.toml +++ b/plugins/fs/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-fs" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "No write access to `$RESOURCES` folder" } +macos = { level = "full", notes = "No write access to `$RESOURCES` folder" } +android = { level = "partial", notes = "Access is restricted to Application folder by default" } +ios = { level = "partial", notes = "Access is restricted to Application folder by default" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } schemars = { workspace = true } diff --git a/plugins/geolocation/Cargo.toml b/plugins/geolocation/Cargo.toml index f41fb804..876c378c 100644 --- a/plugins/geolocation/Cargo.toml +++ b/plugins/geolocation/Cargo.toml @@ -13,6 +13,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "none", notes = "" } +linux = { level = "none", notes = "" } +macos = { level = "none", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/global-shortcut/Cargo.toml b/plugins/global-shortcut/Cargo.toml index 9da8e7ee..5b560b75 100644 --- a/plugins/global-shortcut/Cargo.toml +++ b/plugins/global-shortcut/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-global-shortcut" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/haptics/Cargo.toml b/plugins/haptics/Cargo.toml index 97ab3e24..8c8ff132 100644 --- a/plugins/haptics/Cargo.toml +++ b/plugins/haptics/Cargo.toml @@ -13,6 +13,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "none", notes = "" } +linux = { level = "none", notes = "" } +macos = { level = "none", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index 572421c2..057780c5 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-http" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } schemars = { workspace = true } diff --git a/plugins/localhost/Cargo.toml b/plugins/localhost/Cargo.toml index 075cd5c3..9f0e1853 100644 --- a/plugins/localhost/Cargo.toml +++ b/plugins/localhost/Cargo.toml @@ -12,6 +12,13 @@ repository = { workspace = true } rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[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 } diff --git a/plugins/log/Cargo.toml b/plugins/log/Cargo.toml index dbb146d8..57f96b4a 100644 --- a/plugins/log/Cargo.toml +++ b/plugins/log/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-log" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "unknown", notes = "" } +ios = { level = "unknown", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/nfc/Cargo.toml b/plugins/nfc/Cargo.toml index 85286273..a40c9117 100644 --- a/plugins/nfc/Cargo.toml +++ b/plugins/nfc/Cargo.toml @@ -13,6 +13,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "none", notes = "" } +linux = { level = "none", notes = "" } +macos = { level = "none", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/notification/Cargo.toml b/plugins/notification/Cargo.toml index a817cbad..8d0f9270 100644 --- a/plugins/notification/Cargo.toml +++ b/plugins/notification/Cargo.toml @@ -14,6 +14,13 @@ rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/os/Cargo.toml b/plugins/os/Cargo.toml index 017ad0de..1e36e220 100644 --- a/plugins/os/Cargo.toml +++ b/plugins/os/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-os" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index 9fb923a2..df924ea4 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -12,6 +12,13 @@ repository = { workspace = true } rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[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 } diff --git a/plugins/positioner/Cargo.toml b/plugins/positioner/Cargo.toml index 4a3f5b0b..757bfac0 100644 --- a/plugins/positioner/Cargo.toml +++ b/plugins/positioner/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-positioner" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/process/Cargo.toml b/plugins/process/Cargo.toml index d9b7ecf3..62422707 100644 --- a/plugins/process/Cargo.toml +++ b/plugins/process/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-process" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/shell/Cargo.toml b/plugins/shell/Cargo.toml index d226fa4e..62a3fd9e 100644 --- a/plugins/shell/Cargo.toml +++ b/plugins/shell/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-shell" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "partial", notes = "Only allows to open URLs via `open`" } +ios = { level = "partial", notes = "Only allows to open URLs via `open`" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } schemars = { workspace = true } diff --git a/plugins/single-instance/Cargo.toml b/plugins/single-instance/Cargo.toml index cd803816..1d6f0b95 100644 --- a/plugins/single-instance/Cargo.toml +++ b/plugins/single-instance/Cargo.toml @@ -13,6 +13,13 @@ exclude = ["/examples"] rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[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 } diff --git a/plugins/sql/Cargo.toml b/plugins/sql/Cargo.toml index dba0c433..bfcfc99e 100644 --- a/plugins/sql/Cargo.toml +++ b/plugins/sql/Cargo.toml @@ -14,6 +14,13 @@ features = ["sqlite"] rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/store/Cargo.toml b/plugins/store/Cargo.toml index 9ef49952..0300b35f 100644 --- a/plugins/store/Cargo.toml +++ b/plugins/store/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-store" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "full", notes = "" } +ios = { level = "full", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/stronghold/Cargo.toml b/plugins/stronghold/Cargo.toml index f13e5176..374134dc 100644 --- a/plugins/stronghold/Cargo.toml +++ b/plugins/stronghold/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-stronghold" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml index a9830446..f2de9ecf 100644 --- a/plugins/updater/Cargo.toml +++ b/plugins/updater/Cargo.toml @@ -15,6 +15,13 @@ rustdoc-args = ["--cfg", "docsrs"] no-default-features = true features = ["zip"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/upload/Cargo.toml b/plugins/upload/Cargo.toml index 2e90bfb4..d01f6bbe 100644 --- a/plugins/upload/Cargo.toml +++ b/plugins/upload/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-upload" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/websocket/Cargo.toml b/plugins/websocket/Cargo.toml index 19efdfb0..67c4a9ae 100644 --- a/plugins/websocket/Cargo.toml +++ b/plugins/websocket/Cargo.toml @@ -14,6 +14,13 @@ exclude = ["/examples"] rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/plugins/window-state/Cargo.toml b/plugins/window-state/Cargo.toml index 974ef817..60d7cbd5 100644 --- a/plugins/window-state/Cargo.toml +++ b/plugins/window-state/Cargo.toml @@ -13,6 +13,13 @@ links = "tauri-plugin-window-state" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.platforms.support] +windows = { level = "full", notes = "" } +linux = { level = "full", notes = "" } +macos = { level = "full", notes = "" } +android = { level = "none", notes = "" } +ios = { level = "none", notes = "" } + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] } diff --git a/shared/template/Cargo.toml b/shared/template/Cargo.toml index 97bc0481..a672132d 100644 --- a/shared/template/Cargo.toml +++ b/shared/template/Cargo.toml @@ -11,6 +11,17 @@ links = "tauri-plugin-PLUGIN_NAME" rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"] +# Platforms supported by the plugin +# Support levels are "full", "partial", "none", "unknown" +# Details of the support level are left to plugin maintainer +[package.metadata.platforms] +windows = { level = "unknown", notes = "" } +linux = { level = "unknown", notes = "" } +macos = { level = "unknown", notes = "" } +android = { level = "unknown", notes = "" } +ios = { level = "unknown", notes = "" } + + [build-dependencies] tauri-plugin = { workspace = true, features = ["build"] }