audit-chain
Tamper-evident audit log: a hash-chained, append-only event log with canonical JSON export and an offline verifier.
Built and tested in the harness, and not in the public repository yet. The install line and the source link appear here when it is.
What it is
audit-chain.
A tamper-evident audit log. Every action is one event, and each event's hash covers the previous event's hash, so changing, removing or reordering a recorded event breaks every link after it. The table is append-only, enforced by the database itself. Events are written inside the caller's own batch_atomic batch, so an event exists exactly when its action does. export writes the chain as JSON Lines in canonical JSON, and verify checks the file offline. The crate does not apply its migrations; the code that mounts it does.
From the crate’s own README.
Ports
Database
History
Changelog.
Not released yet. Its changelog starts with its first release.
One of 95 crates in the harness, all of them MIT.