|
@@ -49,16 +49,15 @@ pub use solana_program::{
|
|
|
account_info, address_lookup_table, alt_bn128, big_mod_exp, blake3, bpf_loader,
|
|
account_info, address_lookup_table, alt_bn128, big_mod_exp, blake3, bpf_loader,
|
|
|
bpf_loader_deprecated, bpf_loader_upgradeable, clock, config, custom_heap_default,
|
|
bpf_loader_deprecated, bpf_loader_upgradeable, clock, config, custom_heap_default,
|
|
|
custom_panic_default, debug_account_data, declare_deprecated_sysvar_id, declare_sysvar_id,
|
|
custom_panic_default, debug_account_data, declare_deprecated_sysvar_id, declare_sysvar_id,
|
|
|
- decode_error, ed25519_program, epoch_rewards, epoch_schedule, fee_calculator, impl_sysvar_get,
|
|
|
|
|
- incinerator, instruction, keccak, lamports, loader_instruction, loader_upgradeable_instruction,
|
|
|
|
|
- loader_v4, loader_v4_instruction, message, msg, native_token, nonce, program, program_error,
|
|
|
|
|
|
|
+ ed25519_program, epoch_rewards, epoch_schedule, fee_calculator, impl_sysvar_get, incinerator,
|
|
|
|
|
+ instruction, keccak, lamports, loader_instruction, loader_upgradeable_instruction, loader_v4,
|
|
|
|
|
+ loader_v4_instruction, message, msg, native_token, nonce, program, program_error,
|
|
|
program_memory, program_option, program_pack, rent, secp256k1_program, serde_varint,
|
|
program_memory, program_option, program_pack, rent, secp256k1_program, serde_varint,
|
|
|
serialize_utils, slot_hashes, slot_history, stable_layout, stake, stake_history, syscalls,
|
|
serialize_utils, slot_hashes, slot_history, stable_layout, stake, stake_history, syscalls,
|
|
|
system_instruction, system_program, sysvar, unchecked_div_by_const, vote,
|
|
system_instruction, system_program, sysvar, unchecked_div_by_const, vote,
|
|
|
};
|
|
};
|
|
|
#[cfg(feature = "borsh")]
|
|
#[cfg(feature = "borsh")]
|
|
|
pub use solana_program::{borsh, borsh0_10, borsh1};
|
|
pub use solana_program::{borsh, borsh0_10, borsh1};
|
|
|
-
|
|
|
|
|
pub mod account;
|
|
pub mod account;
|
|
|
pub mod account_utils;
|
|
pub mod account_utils;
|
|
|
pub mod client;
|
|
pub mod client;
|
|
@@ -110,6 +109,8 @@ pub mod transaction_context;
|
|
|
pub mod transport;
|
|
pub mod transport;
|
|
|
pub mod wasm;
|
|
pub mod wasm;
|
|
|
|
|
|
|
|
|
|
+#[deprecated(since = "2.1.0", note = "Use `solana-decode-error` crate instead")]
|
|
|
|
|
+pub use solana_decode_error as decode_error;
|
|
|
#[deprecated(since = "2.1.0", note = "Use `solana-sanitize` crate instead")]
|
|
#[deprecated(since = "2.1.0", note = "Use `solana-sanitize` crate instead")]
|
|
|
pub use solana_sanitize as sanitize;
|
|
pub use solana_sanitize as sanitize;
|
|
|
/// Same as `declare_id` except report that this id has been deprecated.
|
|
/// Same as `declare_id` except report that this id has been deprecated.
|