audit-trail 0.5.0

Structured audit logging with tamper-evident chaining. Every write produces a cryptographically linked record (hash chain). Compliance-grade output (who, what, when, where, result). Pluggable backends. Foundation for HIPAA, SOC 2, and PCI-DSS compliance.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Reference [`Hasher`] implementations behind feature flags.
//!
//! Each implementation is gated on the matching crate-level feature:
//!
//! | Type                  | Feature flag | Backing crate |
//! |-----------------------|--------------|---------------|
//! | [`Sha256Hasher`]      | `sha2`       | [`sha2`]      |
//!
//! [`Hasher`]: crate::Hasher

#[cfg(feature = "sha2")]
mod sha256;

#[cfg(feature = "sha2")]
pub use sha256::Sha256Hasher;