spl_type_length_value/
lib.rs

1//! Crate defining an interface for managing type-length-value entries in a slab
2//! of bytes, to be used with Miraland accounts.
3
4#![allow(clippy::arithmetic_side_effects)]
5#![deny(missing_docs)]
6#![cfg_attr(not(test), forbid(unsafe_code))]
7
8pub mod error;
9pub mod length;
10pub mod state;
11pub mod variable_len_pack;
12
13// Export current sdk types for downstream users building with a different sdk
14// version
15pub use miraland_program;
16// Expose derive macro on feature flag
17#[cfg(feature = "derive")]
18pub use spl_type_length_value_derive::SplBorshVariableLenPack;