Expand description
Cross-platform configuration and data saving between desktop and web
On desktop, saving is backed by filesystem and APIs and uses the platform-specific data
locations. On web, saving is backed by the LocalStorage browser API.
As an end user, all you need to worry about is which Location
you want to save to:
Cache
, which is short-lived and may not persist between runs of the programConfig
, for storing long-term configurationData
, for storing long-term large data blobs.
Re-exports§
pub use serde;
Enums§
- Location
- Where the data should be written to and read from
- Save
Error - An error that can occur during a save or load operation