llm_diff/lib.rs
1// SPDX-License-Identifier: MIT
2//! # llm-diff
3//!
4//! Output diffing and versioning primitives for LLM outputs.
5//!
6//! Provides:
7//! - Line-level and structural JSON diffing ([`diff`] module).
8//! - A content-addressable version store with branch and lineage support ([`store`] module).
9//! - An append-only compliance audit log ([`audit`] module).
10
11pub mod audit;
12pub mod diff;
13pub mod error;
14pub mod store;
15
16pub use audit::{AuditEvent, AuditLog};
17pub use diff::{json_diff, DiffOp, TextDiff};
18pub use error::DiffError;
19pub use store::{OutputVersion, VersionAnnotation, VersionStore};