Registry / database / indexed-db-futures

indexed-db-futures

JSON →
library0.6.4rscratesunverified

Future bindings for IndexedDB via web_sys, enabling async database operations in WebAssembly.

# Cargo.toml [dependencies] indexed_db_futures = "0.6.4"
INSTALL
IMPORT
SIG · INDEXED-DB-FUTURES
I
indexed-db-futures
databaserustv0.6.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IdbDatabase
use indexed_db_futures::IdbDatabase;

Opens an IndexedDB database asynchronously.

use indexed_db_futures::IdbDatabase; async fn open_db() -> IdbDatabase { IdbDatabase::open("my_db").await.unwrap() }
Debug
Known issues
gotchaRequires WebAssembly target and web-sys feature flags
fix
Ensure you are compiling for wasm32-unknown-unknown and enable the 'std' feature of web-sys.
affects: >=0.6.0
Upgrade
Version history
0.6.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
indexed-db-futures — cargo add indexed-db-futures · libregistry