c2pa_text_binding/lib.rs
1// Copyright 2026 WritersLogic. All rights reserved.
2// Licensed under the Apache License, Version 2.0 or the MIT license,
3// at your option.
4
5//! C2PA soft binding and content fingerprinting for text assets.
6//!
7//! Provides a trait-based interface for text fingerprinting algorithms
8//! that can be registered with the C2PA soft binding resolution API.
9//! Implementations generate content-derived fingerprints that survive
10//! reformatting, re-encoding, and partial modification of text content.
11
12mod error;
13mod fingerprint;
14
15pub use error::Error;
16pub use fingerprint::{TextFingerprint, FingerprintResult};