proof_core/lib.rs
1// Copyright 2026 Proof Engine Contributors
2// SPDX-License-Identifier: MIT OR Apache-2.0
3//! proof-core: domain types, error codes, limits, hash/id value objects.
4//! No crypto, no CBOR, no I/O. All security-critical enums are closed.
5
6pub mod error;
7pub mod hash;
8pub mod limits;
9pub mod model;
10
11pub use error::{ErrorCode, ProofError};
12pub use hash::{HashAlgorithm, HashRef};
13pub use limits::Limits;
14// PE-SEC-004: no-panic invariant holds workspace-wide (no unwrap/expect/panic in
15// production paths); enforced by soak mutation tests + fuzz no-panic asserts.
16pub use model::LifecycleStatus;