rust-indexed-db
rust-indexed-db copied to clipboard
Future bindings for IndexedDB via web_sys
Consider the following code: ```rust fn decode_value(val: JsValue) -> Result { // do something complicated to process `val`. val.as_string().ok_or(()) } async fn get_data() -> Result { let db = Database::open("my_db").await?;...
_**This pull request contains a number of breaking changes!**_ @Alorel, I am planning to host a fork with these changes, but I wanted to provide them here as a pull...
I had trouble using `?` within anyhow returning functions. Is there any change required here to make that possible or is there a specific way to do this?
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. Release notes Sourced from actions/checkout's releases. v5.0.0 What's Changed Update actions checkout to use node 24 by @salmanmkc in actions/checkout#2226 Prepare v5.0.0 release by...
## Overview Currently, [`OpenDbRequestBuilder::with_on_upgrade_needed`](https://docs.rs/indexed_db_futures/latest/indexed_db_futures/factory/struct.OpenDbRequestBuilder.html#method.with_on_upgrade_needed) passes two arguments to the provided callback: a [`VersionChangeEvent`](https://docs.rs/indexed_db_futures/latest/indexed_db_futures/database/struct.VersionChangeEvent.html) and a [`Database`](https://docs.rs/indexed_db_futures/latest/indexed_db_futures/database/struct.Database.html). Unfortunately, neither of these provides access to the active version change transaction, which means...