#local-storage #storage-api #context #web #pure #location #non-browser

web-local-storage-api

A pure Rust implementation of the Web LocalStorage API, for use in non-browser contexts

1 unstable release

0.0.0 Oct 24, 2021

#45 in #local-storage

Download history 2/week @ 2024-08-25 2/week @ 2024-09-01 9/week @ 2024-09-15 31/week @ 2024-09-22 14/week @ 2024-09-29 60/week @ 2024-10-06 1/week @ 2024-10-13 8/week @ 2024-11-10 34/week @ 2024-11-17 2/week @ 2024-11-24 62/week @ 2024-12-01 27/week @ 2024-12-08

129 downloads per month
Used in point-and-click

MIT/Apache

9KB
95 lines

Rust Web Local Storage API

crates.io

A Rust implementation of the Web LocalStorage API, for use in non-browser contexts

About the Web Local Storage API

MDN docs

The Web LocalStorage API provides a simple way for storing string key value pairs for your app. These values will be stored in your operating systemz appropriate configuration location based off your project name.

// Linux:   /home/alice/.config/barapp
// Windows: C:\Users\Alice\AppData\Roaming\barapp
// macOS:   /Users/Alice/Library/Application Support/barapp

Usage

Docs

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in web-local-storage-api by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1.4–2.7MB
~52K SLoC