solana_program_runtime/
lib.rs

1#![cfg_attr(
2    not(feature = "agave-unstable-api"),
3    deprecated(
4        since = "3.1.0",
5        note = "This crate has been marked for formal inclusion in the Agave Unstable API. From \
6                v4.0.0 onward, the `agave-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 solana_sbpf;
15pub mod cpi;
16pub mod execution_budget;
17pub mod invoke_context;
18pub mod loaded_programs;
19pub mod mem_pool;
20pub mod memory;
21pub mod serialization;
22pub mod stable_log;
23pub mod sysvar_cache;
24
25// re-exports for macros
26pub mod __private {
27    pub use {
28        solana_account::ReadableAccount, solana_hash::Hash,
29        solana_instruction::error::InstructionError, solana_rent::Rent,
30        solana_transaction_context::TransactionContext,
31    };
32}