1#![deny(missing_docs)]
16
17mod artifact;
18mod builder;
19mod codec;
20#[cfg(feature = "codec-component")]
21mod codec_component;
22mod codec_structure;
23mod error;
24mod schema;
25mod section;
26mod value;
27
28#[cfg(test)]
29mod tests;
30
31pub use artifact::{NotePackageArtifact, NotePackageResolver};
32pub use builder::NoteStorageBuilder;
33pub use codec::{
34 ACCOUNT_ID_FQN, ASSET_AMOUNT_FQN, CodecRegistry, ConsumerTypeCodec, FELT_FQN, StandardLeaf,
35 WORD_FQN,
36};
37#[cfg(feature = "codec-component")]
38pub use codec_component::CodecLimits;
39pub use codec_structure::{
40 NOTE_CODEC_WASM_FEATURES, validate_note_codec_component, validate_note_codec_structure,
41};
42pub use error::{CodecFailure, Error, Result};
43pub use miden_field::Felt;
44pub use miden_protocol::note::NoteStorage;
45pub use schema::{
46 FeltLayout, MAX_NOTE_CODEC_COMPONENT_BYTES, MAX_NOTE_STORAGE_SCHEMA_BYTES,
47 MAX_NOTE_STORAGE_SCHEMA_DEPTH, MAX_NOTE_STORAGE_SCHEMA_FELTS, MAX_NOTE_STORAGE_SCHEMA_NODES,
48 MAX_NOTE_STORAGE_SCHEMA_TYPES, NOTE_CODEC_GUEST_RUSTFLAGS, NoteStorageSchema, PrimitiveType,
49 SchemaCase, SchemaField, SchemaType, SchemaTypeKind,
50};
51pub use value::{DecodedValue, DecodedValueKind};