docs(persisted-scope): document protocol-asset feature flag (#3676)

This commit is contained in:
kxrn_gupta authored and GitHub committed 2026-10-09 09:20:30 -03:00
1 parent 46381516b7
commit 8140e3e5ab
1 file changed
+6
+6
View File
@@ -27,6 +27,8 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
```toml
[dependencies]
tauri-plugin-persisted-scope = "2.0.0"
# alternatively with the protocol-asset feature enabled:
# tauri-plugin-persisted-scope = { version = "2.0.0", features = ["protocol-asset"] }
# alternatively with Git:
tauri-plugin-persisted-scope = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
```
@@ -48,6 +50,10 @@ fn main() {
Afterwards the plugin will automatically save and restore filesystem and asset scopes.
## Features
- `protocol-asset`: Enables saving and restoring custom asset protocol scopes (`tauri/protocol-asset`).
## Contributing
PRs accepted. Please make sure to read the Contributing Guide before making a pull request.