Skip to main content

ossctl_core/contract/
mod.rs

1//! The `OSS-RELEASE.md` release contract: schema, normalizer, and SPDX check
2//! (port of `check-oss-release.py` — ADR-0001 §3).
3//!
4//! This is the **inter-skill contract**: every `/oss-*` member reads
5//! `OSS-RELEASE.md` only through here, and `contract show` / `contract validate`
6//! are the two presentation modes over the one normalization function. Stub at
7//! founding; the normalizer lands in the `contract-command` unit.
8
9pub mod normalize;
10pub mod schema;
11pub mod spdx;
12
13pub use normalize::{normalize, normalize_str, LoadError, Normalized, Problems, CONTRACT_FILENAME};
14pub use spdx::spdx_valid;