harn_session_store/
lib.rs1pub mod event;
23pub mod identity;
24pub mod memory;
25pub(crate) mod memory_helpers;
26pub mod redaction;
27pub mod retention;
28pub mod signing;
29pub mod sqlite;
30pub mod store;
31
32pub use event::{
33 canonical_event_bytes, canonical_json_bytes, AppendEvent, EventId, EventSignature,
34 SessionEventKind, StoredEvent,
35};
36pub use identity::{EventIdentity, EventIdentityError, EventIdentityField};
37pub use memory::MemorySessionStore;
38pub use redaction::{EventRedactor, SharedEventRedactor};
39pub use retention::{ArchiveSink, RetentionPolicy, SharedArchiveSink, Tombstone};
40pub use signing::{
41 chain_root_fold, chain_root_hash, chain_root_init, compute_record_hash, re_anchor_events,
42 verify_event, verify_event_chain, verify_receipt_root, verify_session_chain, SessionSigner,
43 VerifyError, ALGORITHM as SIGNATURE_ALGORITHM,
44};
45pub use sqlite::SqliteSessionStore;
46pub use store::{
47 CreateSession, EventPage, ForkResult, ImportResult, ImportSession, ListFilter, ReadRange,
48 SessionId, SessionImporter, SessionMeta, SessionStatus, SessionStore, SharedSessionStore,
49 Snapshot, SnapshotId, StoreError, StoreHooks, StoreResult, SweepReport, TruncateResult,
50 VerifyFailure, VerifyReport, MAX_READ_BATCH,
51};