1#![cfg_attr(not(feature = "std"), no_std)]
2
3#[cfg(all(not(feature = "std"), feature = "alloc"))]
4extern crate alloc;
5
6pub mod address;
7pub mod constants;
8pub mod cpi_accounts;
9#[cfg(feature = "cpi-context")]
10pub mod cpi_context_write;
11pub mod error;
12pub mod instruction;
13
14#[cfg(feature = "anchor")]
16use anchor_lang::{AnchorDeserialize, AnchorSerialize};
17#[cfg(not(feature = "anchor"))]
18use borsh::{BorshDeserialize as AnchorDeserialize, BorshSerialize as AnchorSerialize};
19pub use constants::*;
20pub use light_compressed_account::CpiSigner;