gear_core_processor/
lib.rs1#![no_std]
22#![warn(missing_docs)]
23#![cfg_attr(feature = "strict", deny(warnings))]
24#![doc(html_logo_url = "https://docs.gear.rs/logo.svg")]
25
26extern crate alloc;
27
28pub mod common;
29pub mod configs;
30mod context;
31mod executor;
32mod ext;
33mod handler;
34mod precharge;
35mod processing;
36
37pub use context::{
38 ContextChargedForCode, ContextChargedForInstrumentation, ProcessExecutionContext,
39};
40pub use executor::{execute_wasm, ActorPrepareMemoryError};
41pub use ext::{
42 AllocExtError, Ext, FallibleExtError, ProcessorContext, ProcessorExternalities,
43 UnrecoverableExtError,
44};
45pub use handler::handle_journal;
46pub use precharge::{
47 calculate_gas_for_code, calculate_gas_for_program, precharge_for_code,
48 precharge_for_code_length, precharge_for_instrumentation, precharge_for_memory,
49 precharge_for_program,
50};
51pub use processing::process;
52
53pub mod informational {
55 pub use crate::executor::execute_for_reply;
56}