web-local-storage-api 0.0.0

A pure Rust implementation of the Web LocalStorage API, for use in non-browser contexts
Documentation
1
2
3
4
5
fn main() {
    web_local_storage_api::set_item("foo", "bar").unwrap();
    let s = web_local_storage_api::get_item("foo");
    println!("hey {:?} {:?}", &s, web_local_storage_api::location());
}