Skip to content

docs(persisted-scope): document the protocol-asset feature#3443

Closed
rumitvn wants to merge 1 commit into
tauri-apps:v2from
rumitvn:docs/persisted-scope-protocol-asset
Closed

docs(persisted-scope): document the protocol-asset feature#3443
rumitvn wants to merge 1 commit into
tauri-apps:v2from
rumitvn:docs/persisted-scope-protocol-asset

Conversation

@rumitvn

@rumitvn rumitvn commented Jun 10, 2026

Copy link
Copy Markdown

Closes #918.

The persisted-scope README didn't mention the protocol-asset Cargo feature, so (as noted in the issue) users had to read the source to discover that persisting the asset protocol scope is opt-in.

This PR:

  • Clarifies that only the filesystem scope is persisted by default (to .persisted-scope).
  • Adds a "Persisting the asset protocol scope" section explaining that enabling the protocol-asset feature makes the plugin also persist the asset scope (used by the asset: protocol / convertFileSrc) to a separate .persisted-scope-asset file, with the Cargo.toml snippet.

Docs-only change, so no changefile is included (no version bump needed).

The README did not mention the `protocol-asset` Cargo feature, so users
had to read the source to discover that persisting the asset protocol
scope is opt-in. Add a section explaining how to enable it and clarify
that only the filesystem scope is persisted by default.

Closes tauri-apps#918
@rumitvn rumitvn requested a review from a team as a code owner June 10, 2026 15:30
@rumitvn rumitvn closed this Jun 10, 2026
@rumitvn rumitvn deleted the docs/persisted-scope-protocol-asset branch June 10, 2026 15:40
@rumitvn

rumitvn commented Jun 10, 2026

Copy link
Copy Markdown
Author

Closed as a duplicate of #3434 (opened earlier for #918). Apologies for the overlap — I should have checked for an existing PR first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[persisted-scope] add docs for "protocol-asset" feature

1 participant