foundation_db 0.0.2

Unified storage backend with Turso sync API, D1, R2, and in-memory fallback
Documentation
1
2
3
4
5
6
7
8
9
10
/// workers-rs interop: `From<worker::D1Database>` for `crate::D1Database`.
///
/// Both types wrap the same underlying JS `D1Database` object. Converting
/// through `JsValue` gives us a zero-cost cast to the foundation_db type
/// so it can be used with `D1WasmStorage` and stored in `ContextBag`.
#[allow(unused_imports)]
pub mod d1;

#[allow(unused_imports)]
pub use d1::*;