rust-indexed-db icon indicating copy to clipboard operation
rust-indexed-db copied to clipboard

Future bindings for IndexedDB via web_sys

Results 15 rust-indexed-db issues
Sort by recently updated
recently updated
newest added

The `uuid` package hasn't had the feature `wasm-bindgen` since https://github.com/uuid-rs/uuid/pull/536, in which it was renamed to `js`, but using it continues to work on `wasm32-unknown-unknown` because it accidentally activates the...

size/XS

Currently, `indexed_db_futures` relies on behavior of the futures executor that is not actually specified: it assumes that waking a task from an IndexedDB callback, and then returning from the IndexedDB...

wontfix

Hey! Here's an idea for indexed-db-futures v0.5: what if transactions aborted on drop, instead of committing on drop? This'd make them farther away from the indexed-db standard, for sure, but...

`web_sys` defines [`IdbObjectStore::get_all_with_key_and_limit`](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.IdbObjectStore.html#method.get_all_with_key_and_limit) and [`IdbIndex::get_all_with_key_and_limit`](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.IdbIndex.html#method.get_all_with_key_and_limit), but as far as I can tell they are not exposed by rust-indexed-db.

In the callback we might need to `await` a transaction to make sure everything happens in the correct order. For example porting the example of the ["Structuring the database" section...

Based on https://github.com/leptos-rs/leptos/tree/main/examples/tailwind_csr_trunk ```rust use indexed_db_futures::{ prelude::{IdbObjectStore, IdbTransaction}, request::IdbOpenDbRequestLike, web_sys::IdbTransactionMode, IdbDatabase, IdbQuerySource, IdbVersionChangeEvent, }; use leptos::*; use wasm_bindgen::JsValue; use crate::app::navbar::Navbar; async fn prepare_db() -> String { println!("prepare db"); let mut...

Currently `IdbCursorWithValue` provide `into_vec` method that return a `Vec` containing the `Key-Value` pair. I would like to have something similar that only return the value. Given the implentation of `into_vec`...

Calling `cursor.stream_ser::().try_collect()` is returning the following javascript error. ``` Failed to execute 'continue' on 'IDBCursor': The cursor is being iterated or has iterated past its end. InvalidStateError: Failed to execute...

Here is a reproduction test case for #52

size/M

Bumps [ncipollo/release-action](https://github.com/ncipollo/release-action) from 36e78ab6296394ce36f72f6488e68c2353b50514 to 73edeebfa1b8a14e899485a20c14f3904c09deb2. Commits 73edeeb Bump @​types/node from 24.6.1 to 24.9.2 (#563) cacc352 Bump @​biomejs/biome from 1.9.4 to 2.3.2 (#564) 0dda22e Bump ts-jest from 29.3.4 to 29.4.5...

dependencies
size/XS
github_actions