UCM Core
ucm-core provides the fundamental building blocks for the Unified Content Model — the core types and traits for representing structured content in a graph-based intermediate representation.
Overview
UCM Core is the foundation of the UCP ecosystem. It defines:
- Block - The fundamental unit of content
- Content - Typed content variants (text, code, table, etc.)
- Document - A collection of blocks with hierarchical structure
- Edge - Explicit relationships between blocks
- BlockId - Content-addressed identifiers with 96-bit collision resistance
- Metadata - Semantic roles, tags, and token estimates
Installation
[]
= "0.1"
Quick Example
use ;
Public API
Re-exports
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
See Also
- Blocks - Detailed block documentation
- Content Types - All content variants
- Documents - Document operations
- Edges - Relationship types
- ID Generation - How IDs are generated
- Metadata - Semantic roles and metadata