#![warn(clippy::unwrap_used)]

pub mod enc;
pub mod error;
pub mod fuid;
pub mod get_type;
pub mod id64;
pub mod key_part;
pub mod key_type;
pub mod num_ops;
pub mod record_status;
pub mod typ;
pub mod zbase;

#[cfg(feature = "std")]
pub mod persist;

use arrayvec::ArrayString;

pub use error::ArmourError;
pub use get_type::GetType;
pub use key_type::{KeyScheme, KeyType};
pub use typ::{EnumType, Fields, SimpleEnumType, StructType, Typ};

pub type IdStr = ArrayString<13>;

pub type Result<T, E = ArmourError> = core::result::Result<T, E>;
