hugr_model/
lib.rs

1//! The data model of the HUGR intermediate representation.
2//! This crate defines data structures that capture the structure of a HUGR graph and
3//! all its associated information in a form that can be stored on disk. The data structures
4//! are not designed for efficient traversal or modification, but for simplicity and serialization.
5mod capnp;
6
7pub mod v0;
8
9// This is required here since the generated code assumes it's in the package root.
10use capnp::hugr_v0_capnp;