frp_weave/lib.rs
1//! Weave layer — stateless assembly and validation for the frp graph domain.
2//!
3//! Provides:
4//! - [`Composer`] — assembles [`frp_domain::Block`]s from atoms and a schema.
5//! - [`Validator`] — validates connections and block/schema consistency.
6//! - [`Archetype`] / [`ArchetypeRegistry`] — named, versioned block blueprints.
7//! - [`BlockTemplate`] / [`PortDef`] — serialisable templates convertible to archetypes.
8//! - [`WeaveError`] — unified error type for this crate.
9
10pub mod archetype;
11pub mod composer;
12pub mod error;
13pub mod template;
14pub mod validator;
15
16pub use archetype::{Archetype, ArchetypeRegistry};
17pub use composer::Composer;
18pub use error::WeaveError;
19pub use template::{BlockTemplate, PortDef};
20pub use validator::Validator;