1pub(crate) mod builder;
17mod cap;
18mod chunk;
19mod disasm;
20mod format;
21mod instruction;
22mod macros;
23mod opcode;
24mod program;
25mod restart;
26mod value;
27mod verify;
28
29pub use cap::{
30 Cap, CapId, CapIdError, CapRights, CapTarget, NativeIdx, NativeMask, RevocationCell,
31};
32pub use chunk::{Chunk, FunctionDef, ABI_VERSION, MAGIC};
33pub use disasm::disassemble;
34pub use format::{decode, decode_with, encode, FormatError};
35pub use instruction::Instruction;
36pub use macros::asm_macros;
37pub use opcode::Opcode;
38pub use program::{Fn, FuncId, Label, Program, Reg, RegWindow};
39pub use restart::RestartPolicy;
40pub use value::{Message, Value, TAG_SYS_DOWN, TAG_SYS_EXIT};
41pub use verify::{verify, verify_with, ConstantKind, TrustLevel, VerifyConfig, VerifyError};