Skip to main content

reddb_engine/storage/
mod.rs

1//! Storage primitives shared by native and browser runtimes.
2//!
3//! The native pager uses these exact page, freelist, cache and byte-I/O
4//! implementations, including pager orchestration and allocation fences.
5//! WAL implementation and encryption remain host/runtime policy.
6
7pub mod btree;
8pub mod crc32;
9pub mod entity;
10pub mod entity_codec;
11pub mod entity_id;
12pub mod freelist;
13pub mod overflow;
14pub mod page;
15pub mod page_cache;
16pub mod page_store;
17#[doc(hidden)]
18pub mod paged_file;
19pub mod pager;
20pub mod pager_io;
21
22// Canonical resident collection storage used by native and browser hosts.
23#[cfg(feature = "full")]
24#[doc(hidden)]
25pub mod memory_size;
26pub mod metadata;
27#[cfg(feature = "full")]
28pub mod segment;
29#[cfg(feature = "full")]
30mod segment_graph_index;
31#[cfg(feature = "full")]
32#[doc(hidden)]
33pub mod segment_key_lookup;
34#[cfg(feature = "full")]
35mod segment_unique_key;
36
37pub mod metadata_codec;
38#[cfg(feature = "full")]
39pub mod snapshot;
40#[doc(hidden)]
41pub mod system_collection_names;
42
43#[cfg(feature = "full")]
44pub mod manager;
45#[cfg(feature = "full")]
46pub mod visibility;
47#[cfg(feature = "full")]
48pub mod visibility_map;
49
50#[cfg(feature = "full")]
51pub mod context_index;
52#[cfg(feature = "full")]
53pub mod entity_cache;
54#[cfg(feature = "full")]
55pub mod tokenization;
56
57mod collection_key_read;
58#[doc(hidden)]
59pub mod collection_read;
60#[cfg(feature = "full")]
61pub mod ordered_secondary_key;
62#[doc(hidden)]
63#[cfg(feature = "full")]
64pub mod resident_store;
65#[cfg(feature = "full")]
66pub mod secondary_index_read;
67
68pub mod error;
69#[doc(hidden)]
70pub mod store_wal;
71
72#[cfg(feature = "full")]
73mod resident_snapshot;
74
75#[doc(hidden)]
76#[cfg(feature = "full")]
77pub mod resident_file;