hightower_kv/lib.rs
1/// Authentication service implementation.
2pub mod auth_service;
3/// Authentication-related types.
4pub mod auth_types;
5/// Command definitions for the key-value store.
6pub mod command;
7/// Background compaction coordinator.
8pub mod compactor;
9/// Configuration structures.
10pub mod config;
11/// Cryptographic utilities for hashing and encryption.
12pub mod crypto;
13/// Key-value engine traits and implementations.
14pub mod engine;
15/// Error types and result aliases.
16pub mod error;
17/// Distributed ID generation.
18pub mod id_generator;
19/// In-memory index for fast lookups.
20pub mod index;
21/// Log segment management.
22pub mod log_segment;
23/// Prefix index for efficient prefix queries.
24pub mod prefix_index;
25/// Metrics collection and reporting.
26pub mod metrics;
27/// Replication protocol implementation.
28pub mod replication;
29/// Snapshot persistence.
30pub mod snapshot;
31/// In-memory key-value state.
32pub mod state;
33/// Log-structured storage layer.
34pub mod storage;
35
36#[cfg(test)]
37pub mod tests;
38
39/// Re-export of the authentication service.
40pub use auth_service::AuthService;
41/// Re-export of the store configuration.
42pub use config::StoreConfig;
43/// Re-export of engine traits and implementations.
44pub use engine::{KvEngine, SingleNodeEngine};
45/// Re-export of error types.
46pub use error::{Error, Result};