#![no_std]
#![warn(missing_docs)]
#![doc(html_logo_url = "https://docs.gear.rs/logo.svg")]
#![doc(html_favicon_url = "https://gear-tech.io/favicons/favicon.ico")]
extern crate alloc;
pub mod common;
pub mod configs;
mod context;
mod executor;
mod ext;
mod handler;
mod precharge;
mod processing;
pub use context::{
ContextChargedForCode, ContextChargedForInstrumentation, ProcessExecutionContext,
SystemReservationContext,
};
pub use ext::{
AllocExtError, Ext, FallibleExtError, ProcessorContext, ProcessorExternalities,
UnrecoverableExtError,
};
pub use handler::handle_journal;
pub use precharge::{
precharge_for_allocations, precharge_for_code, precharge_for_code_length,
precharge_for_instrumentation, precharge_for_module_instantiation, precharge_for_program,
SuccessfulDispatchResultKind,
};
pub use processing::{
process, process_execution_error, process_non_executable, process_reinstrumentation_error,
process_success,
};
pub mod informational {
pub use crate::executor::execute_for_reply;
}