light_ctoken_types/lib.rs
1pub mod account_infos;
2pub mod constants;
3pub mod error;
4pub mod instruction;
5
6// Conditional anchor re-exports
7#[cfg(feature = "anchor")]
8use anchor_lang::{AnchorDeserialize, AnchorSerialize};
9#[cfg(not(feature = "anchor"))]
10use borsh::{BorshDeserialize as AnchorDeserialize, BorshSerialize as AnchorSerialize};
11pub use constants::*;
12pub use instruction::*;