Skip to main content

Module audit

Module audit 

Source
Expand description

Append-only audit ledger.

Day 1: in-memory Vec behind a Mutex so the binary can pass the smoke test without a SQLite dependency. The trait is shaped so Day 2 can drop in a rusqlite implementation with the same DDL + triggers from the Python reference (LEDGER_DDL in harness.py) without touching callers.

Structs§

AuditEntry
AuditLog
Day-1 in-memory implementation. Day-2: swap for SQLite-backed sink.
SqliteAuditLog

Constants§

LEDGER_DDL
SQLite-backed append-only audit ledger.

Traits§

AuditSink
Audit-log writer trait.