#![no_std]
#![forbid(unsafe_code)]
#![allow(non_snake_case)]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
pub mod decoder;
pub mod error;
pub mod extensions;
pub mod format;
mod generated;
pub mod instruction;
pub mod op_code;
pub mod operand;
pub mod prefix;
pub use decoder::{Decoder, DecoderOptions, FeatureSet, MonoDialect, PrefixedIter};
pub use error::DecodeError;
pub use extensions::{ExtensionError, ExtensionTable};
#[cfg(feature = "alloc")]
pub use format::format_to_string;
pub use format::{BufSink, FmtFormatter, Formatter, FormatterOptions, SymbolResolver};
pub use generated::{
ALL_CODES, Code, EARLY_MONO_OPCODES, JULY2002_MONO_OPCODES, LEGACY_MONO_OVERRIDES,
MAY2004_MONO_OPCODES, Mnemonic, OPCODE_COUNT,
};
pub use instruction::{Instruction, PrefixedInstruction};
pub use op_code::{
FlowControl, OpCodeInfo, OpCodeKind, OperandKind, StackBehaviourPop, StackBehaviourPush,
};
pub use operand::{MetadataToken, Operand, SwitchTargets, TokenKind};
pub use prefix::{PrefixMetadataResolver, PrefixValidationError, PrefixValidationOptions};