foundation_db 0.0.4

Unified storage backend with Turso sync API, D1, R2, and in-memory fallback
//! Wasm-bindgen storage trait implementations for Cloudflare Workers.

#[cfg(feature = "wasm-bindgen-storage")]
pub mod d1_wasm;

#[cfg(feature = "wasm-bindgen-storage")]
pub mod r2_wasm;

#[cfg(feature = "wasm-bindgen-storage")]
pub mod kv_wasm;

#[cfg(feature = "wasm-bindgen-storage")]
pub mod d1r2_document_store;

#[cfg(feature = "wasm-bindgen-storage")]
pub use d1_wasm::D1WasmStorage;

#[cfg(feature = "wasm-bindgen-storage")]
pub use r2_wasm::R2WasmStorage;

#[cfg(feature = "wasm-bindgen-storage")]
pub use kv_wasm::KVWasmStorage;

#[cfg(feature = "wasm-bindgen-storage")]
pub use d1r2_document_store::CfD1R2DocumentStore;