/// Error types for the kvstore crate
pub mod error;
/// Async trait for key-value storage
pub mod traits;
/// Native backend (e.g., sled or slatedb)
#[cfg(not(target_arch = "wasm32"))]
pub mod native;
/// WASM backend (IndexedDB)
#[cfg(target_arch = "wasm32")]
pub mod wasm;

pub use error::{KVError, Result};
pub use traits::KVStore;

#[cfg(not(target_arch = "wasm32"))]
pub use native::NativeStore;
#[cfg(target_arch = "wasm32")]
pub use wasm::WasmStore;
