Skip to main content

absurder_sql/storage/
mod.rs

1pub mod allocation;
2pub mod auto_sync;
3#[cfg(target_arch = "wasm32")]
4pub mod backend_detect;
5pub mod block_info;
6pub mod block_storage;
7#[cfg(target_arch = "wasm32")]
8pub mod broadcast_notifications;
9pub mod constructors;
10pub mod coordination_metrics;
11pub mod export;
12pub mod export_import_lock;
13pub mod fs_persist;
14#[cfg(target_arch = "wasm32")]
15pub mod hybrid_store;
16pub mod import;
17#[cfg(target_arch = "wasm32")]
18pub mod indexeddb_queue;
19pub mod io_operations;
20pub mod leader_election;
21pub mod metadata;
22#[cfg(target_arch = "wasm32")]
23pub mod mvcc_queue;
24pub mod observability;
25pub mod optimistic_updates;
26pub mod recovery;
27#[cfg(target_arch = "wasm32")]
28pub mod reentrancy_handler;
29pub mod retry_logic;
30pub mod sync_operations;
31pub mod vfs_sync;
32#[cfg(target_arch = "wasm32")]
33pub mod wasm_auto_sync;
34pub mod wasm_indexeddb;
35#[cfg(target_arch = "wasm32")]
36pub mod wasm_opfs;
37#[cfg(target_arch = "wasm32")]
38pub mod wasm_vfs_sync;
39#[cfg(target_arch = "wasm32")]
40pub mod write_queue;
41
42pub use block_info::{BlockInfo, BlockStorageInfo};
43pub use block_storage::{
44    BLOCK_SIZE, BlockStorage, CrashRecoveryAction, StorageBackend, SyncPolicy,
45};
46#[cfg(any(
47    target_arch = "wasm32",
48    all(not(target_arch = "wasm32"), any(test, debug_assertions)),
49    feature = "fs_persist"
50))]
51pub use metadata::BlockMetadataPersist;
52pub use metadata::{ChecksumAlgorithm, ChecksumManager};
53#[cfg(target_arch = "wasm32")]
54pub use wasm_vfs_sync::{
55    register_storage_for_vfs_sync, vfs_sync_database, vfs_sync_database_blocking,
56};