atlas-program 3.0.0

Atlas Program
Documentation
#[deprecated(since = "2.1.0", note = "Use `atlas-sysvar-id` crate instead")]
pub use atlas_sysvar_id::{declare_deprecated_sysvar_id, declare_sysvar_id, SysvarId};
#[deprecated(since = "2.2.0", note = "Use `atlas-sysvar` crate instead")]
#[allow(deprecated)]
pub use {
    atlas_sdk_ids::sysvar::{check_id, id, ID},
    atlas_sysvar::{
        clock, epoch_rewards, epoch_schedule, fees, last_restart_slot, recent_blockhashes, rent,
        rewards, slot_hashes, slot_history, Sysvar, SysvarSerialize,
    },
};

pub mod instructions {
    #[deprecated(since = "2.2.0", note = "Use atlas-instruction crate instead")]
    pub use atlas_instruction::{BorrowedAccountMeta, BorrowedInstruction};
    #[cfg(not(target_os = "atlas"))]
    #[deprecated(since = "2.2.0", note = "Use atlas-instructions-sysvar crate instead")]
    pub use atlas_instructions_sysvar::construct_instructions_data;
    #[cfg(all(not(target_os = "atlas"), feature = "dev-context-only-utils"))]
    #[deprecated(since = "2.2.0", note = "Use atlas-instructions-sysvar crate instead")]
    pub use atlas_instructions_sysvar::serialize_instructions;
    #[cfg(feature = "dev-context-only-utils")]
    #[deprecated(since = "2.2.0", note = "Use atlas-instructions-sysvar crate instead")]
    pub use atlas_instructions_sysvar::{deserialize_instruction, load_instruction_at};
    #[deprecated(since = "2.2.0", note = "Use atlas-instructions-sysvar crate instead")]
    #[allow(deprecated)]
    pub use atlas_instructions_sysvar::{
        get_instruction_relative, load_current_index_checked, load_instruction_at_checked,
        Instructions,
    };
    #[deprecated(since = "2.2.0", note = "Use atlas-sdk-ids crate instead")]
    pub use atlas_sdk_ids::sysvar::instructions::{check_id, id, ID};
}