#local-storage #storage-api #context #web #applications #pure #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

#32 in #storage-api

Download history 10/week @ 2024-03-13 6/week @ 2024-03-20 13/week @ 2024-03-27 26/week @ 2024-04-03 4/week @ 2024-04-10 4/week @ 2024-04-17 8/week @ 2024-04-24 1/week @ 2024-05-01 2/week @ 2024-05-08 5/week @ 2024-05-22 23/week @ 2024-05-29 36/week @ 2024-06-05 115/week @ 2024-06-12 93/week @ 2024-06-19 84/week @ 2024-06-26

330 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.3–2.5MB
~49K SLoC