Skip to content

Commit aabc4d3

Browse files
Add Metadata for Plugin Compatibility (tauri-apps#1836)
Co-authored-by: Tillmann <[email protected]> Co-authored-by: Tillmann <[email protected]>
1 parent fc9b189 commit aabc4d3

File tree

30 files changed

+218
-0
lines changed

30 files changed

+218
-0
lines changed

plugins/autostart/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ links = "tauri-plugin-autostart"
1313
rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "full", notes = "" }
18+
linux = { level = "full", notes = "" }
19+
macos = { level = "full", notes = "" }
20+
android = { level = "none", notes = "" }
21+
ios = { level = "none", notes = "" }
22+
1623
[build-dependencies]
1724
tauri-plugin = { workspace = true, features = ["build"] }
1825

plugins/barcode-scanner/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515
targets = ["x86_64-linux-android"]
1616

17+
[package.metadata.platforms.support]
18+
windows = { level = "none", notes = "" }
19+
linux = { level = "none", notes = "" }
20+
macos = { level = "none", notes = "" }
21+
android = { level = "full", notes = "" }
22+
ios = { level = "full", notes = "" }
23+
24+
1725
[build-dependencies]
1826
tauri-plugin = { workspace = true, features = ["build"] }
1927

plugins/biometric/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ rustc-args = ["--cfg", "docsrs"]
1313
rustdoc-args = ["--cfg", "docsrs"]
1414
targets = ["x86_64-linux-android"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "none", notes = "" }
18+
linux = { level = "none", notes = "" }
19+
macos = { level = "none", notes = "" }
20+
android = { level = "full", notes = "" }
21+
ios = { level = "full", notes = "" }
22+
23+
1624
[build-dependencies]
1725
tauri-plugin = { workspace = true, features = ["build"] }
1826

plugins/cli/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ links = "tauri-plugin-cli"
1313
rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "full", notes = "" }
18+
linux = { level = "full", notes = "" }
19+
macos = { level = "full", notes = "" }
20+
android = { level = "none", notes = "" }
21+
ios = { level = "none", notes = "" }
22+
23+
1624
[build-dependencies]
1725
tauri-plugin = { workspace = true, features = ["build"] }
1826

plugins/clipboard-manager/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515
targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"]
1616

17+
[package.metadata.platforms.support]
18+
windows = { level = "full", notes = "" }
19+
linux = { level = "full", notes = "" }
20+
macos = { level = "full", notes = "" }
21+
android = { level = "partial", notes = "Only plain-text content support" }
22+
ios = { level = "partial", notes = "Only plain-text content support" }
23+
24+
1725
[build-dependencies]
1826
tauri-plugin = { workspace = true, features = ["build"] }
1927

plugins/deep-link/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515
targets = ["x86_64-linux-android"]
1616

17+
[package.metadata.platforms.support]
18+
windows = { level = "full", notes = "" }
19+
linux = { level = "full", notes = "" }
20+
macos = { level = "partial", notes = "Runtime deep link registration is not supported" }
21+
android = { level = "partial", notes = "Runtime deep link registration is not supported" }
22+
ios = { level = "partial", notes = "Runtime deep link registration is not supported" }
23+
1724
[build-dependencies]
1825
serde = { workspace = true }
1926
serde_json = { workspace = true }

plugins/dialog/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515
targets = ["x86_64-unknown-linux-gnu", "x86_64-linux-android"]
1616

17+
[package.metadata.platforms.support]
18+
windows = { level = "full", notes = "" }
19+
linux = { level = "full", notes = "" }
20+
macos = { level = "full", notes = "" }
21+
android = { level = "partial", notes = "Does not support folder picker" }
22+
ios = { level = "partial", notes = "Does not support folder picker" }
23+
1724
[build-dependencies]
1825
tauri-plugin = { workspace = true, features = ["build"] }
1926

plugins/fs/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ links = "tauri-plugin-fs"
1313
rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "full", notes = "" }
18+
linux = { level = "full", notes = "No write access to `$RESOURCES` folder" }
19+
macos = { level = "full", notes = "No write access to `$RESOURCES` folder" }
20+
android = { level = "partial", notes = "Access is restricted to Application folder by default" }
21+
ios = { level = "partial", notes = "Access is restricted to Application folder by default" }
22+
1623
[build-dependencies]
1724
tauri-plugin = { workspace = true, features = ["build"] }
1825
schemars = { workspace = true }

plugins/geolocation/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ rustc-args = ["--cfg", "docsrs"]
1313
rustdoc-args = ["--cfg", "docsrs"]
1414
targets = ["x86_64-linux-android"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "none", notes = "" }
18+
linux = { level = "none", notes = "" }
19+
macos = { level = "none", notes = "" }
20+
android = { level = "full", notes = "" }
21+
ios = { level = "full", notes = "" }
22+
1623
[build-dependencies]
1724
tauri-plugin = { workspace = true, features = ["build"] }
1825

plugins/global-shortcut/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ links = "tauri-plugin-global-shortcut"
1313
rustc-args = ["--cfg", "docsrs"]
1414
rustdoc-args = ["--cfg", "docsrs"]
1515

16+
[package.metadata.platforms.support]
17+
windows = { level = "full", notes = "" }
18+
linux = { level = "full", notes = "" }
19+
macos = { level = "full", notes = "" }
20+
android = { level = "none", notes = "" }
21+
ios = { level = "none", notes = "" }
22+
1623
[build-dependencies]
1724
tauri-plugin = { workspace = true, features = ["build"] }
1825

0 commit comments

Comments
 (0)