atlas_program_runtime/
lib.rs

1#![cfg_attr(
2    not(feature = "atlas-unstable-api"),
3    deprecated(
4        since = "3.1.0",
5        note = "This crate has been marked for formal inclusion in the Atlas Unstable API. From \
6                v4.0.0 onward, the `atlas-unstable-api` crate feature must be specified to \
7                acknowledge use of an interface that may break without warning."
8    )
9)]
10#![cfg_attr(feature = "frozen-abi", feature(min_specialization))]
11#![deny(clippy::arithmetic_side_effects)]
12#![deny(clippy::indexing_slicing)]
13
14pub use atlas_sbpf;
15pub mod compat_types;
16pub mod cpi;
17pub mod execution_budget;
18pub mod invoke_context;
19pub mod loaded_programs;
20pub mod mem_pool;
21pub mod memory;
22pub mod serialization;
23pub mod stable_log;
24pub mod sysvar_cache;
25
26// re-exports for macros
27pub mod __private {
28    pub use {
29        atlas_account::ReadableAccount, atlas_hash::Hash,
30        atlas_instruction::error::InstructionError, atlas_rent::Rent,
31        atlas_transaction_context::TransactionContext,
32    };
33}