feat: Add Store module for persistent KV state, update lib.rs and documentation including a development journal and architecture details.

This commit is contained in:
2025-12-21 21:56:05 +01:00
parent 1f750bdae0
commit 15dd1b337f
6 changed files with 525 additions and 22 deletions
+3
View File
@@ -11,6 +11,7 @@
//! - **DataDir**: Platform-specific data directory paths
//! - **SignedEntry**: Entry creation, signing, and verification
//! - **Log**: Append-only log file I/O
//! - **Store**: Persistent KV state from log replay
pub mod node;
pub mod sigchain;
@@ -22,6 +23,7 @@ pub mod proto;
pub mod data_dir;
pub mod signed_entry;
pub mod log;
pub mod store;
// Constants
/// Maximum size of a serialized SignedEntry (16 MB)
@@ -36,3 +38,4 @@ pub use clock::{Clock, SystemClock, MockClock};
pub use data_dir::DataDir;
pub use signed_entry::{EntryBuilder, sign_entry, verify_signed_entry, hash_signed_entry};
pub use log::{append_entry, read_entries, LogReader};
pub use store::Store;