#![no_std]
#![warn(missing_docs)]
#![cfg_attr(feature = "strict", deny(warnings))]
#![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 executor::{execute_wasm, ActorPrepareMemoryError};
pub use ext::{
AllocExtError, Ext, FallibleExtError, ProcessorContext, ProcessorExternalities,
UnrecoverableExtError,
};
pub use handler::handle_journal;
pub use precharge::{
calculate_gas_for_code, calculate_gas_for_program, precharge_for_code,
precharge_for_code_length, precharge_for_instrumentation, precharge_for_memory,
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;
}