1#[deprecated(since = "2.1.0", note = "Use `solana-sysvar-id` crate instead")]
2pub use solana_sysvar_id::{declare_deprecated_sysvar_id, declare_sysvar_id, SysvarId};
3#[deprecated(since = "2.2.0", note = "Use `solana-sysvar` crate instead")]
4#[allow(deprecated)]
5pub use {
6 solana_sdk_ids::sysvar::{check_id, id, ID},
7 solana_sysvar::{
8 clock, epoch_rewards, epoch_schedule, fees, last_restart_slot, recent_blockhashes, rent,
9 rewards, slot_hashes, slot_history, Sysvar, SysvarSerialize,
10 },
11};
12
13pub mod instructions {
14 #[deprecated(since = "2.2.0", note = "Use solana-instruction crate instead")]
15 pub use solana_instruction::{BorrowedAccountMeta, BorrowedInstruction};
16 #[cfg(not(target_os = "solana"))]
17 #[deprecated(since = "2.2.0", note = "Use solana-instructions-sysvar crate instead")]
18 pub use solana_instructions_sysvar::construct_instructions_data;
19 #[cfg(all(not(target_os = "solana"), feature = "dev-context-only-utils"))]
20 #[deprecated(since = "2.2.0", note = "Use solana-instructions-sysvar crate instead")]
21 pub use solana_instructions_sysvar::serialize_instructions;
22 #[cfg(feature = "dev-context-only-utils")]
23 #[deprecated(since = "2.2.0", note = "Use solana-instructions-sysvar crate instead")]
24 pub use solana_instructions_sysvar::{deserialize_instruction, load_instruction_at};
25 #[deprecated(since = "2.2.0", note = "Use solana-instructions-sysvar crate instead")]
26 #[allow(deprecated)]
27 pub use solana_instructions_sysvar::{
28 get_instruction_relative, load_current_index_checked, load_instruction_at_checked,
29 Instructions,
30 };
31 #[deprecated(since = "2.2.0", note = "Use solana-sdk-ids crate instead")]
32 pub use solana_sdk_ids::sysvar::instructions::{check_id, id, ID};
33}