Skip to main content

norm_spec/
lib.rs

1//! High-level, filesystem-aware Rust API for the `.norm` format.
2//!
3//! The facade owns explicit filesystem orchestration and packaged release
4//! assets. Format parsing and validation semantics remain implemented once in
5//! [`norm_spec_core`].
6
7#![forbid(unsafe_code)]
8
9mod assets;
10mod collect;
11mod error;
12mod paths;
13mod validate;
14
15pub use assets::{
16    PROFILE_NAMES, SchemaLoadError, embedded_schema_bundle, profile_template,
17    schema_bundle_from_dir,
18};
19pub use collect::{CollectRequest, collect};
20pub use error::{ApiError, FailureClass};
21pub use norm_spec_core::{
22    CollectResponse, CollectedNorm, Diagnostic, ErrorDetail, ParsedNorm, ValidateResponse,
23    ValidationResult, ValidationStatus, ValidationSummary,
24};
25pub use validate::{ValidateRequest, validate};