solana_program_traits/
lib.rs

1cfg_if::cfg_if! {
2    if #[cfg(feature = "legacy")]{
3        pub use solana_program::program_error::PrintProgramError;
4        pub use solana_program::decode_error::DecodeError;
5    } else {
6        // TODO: Redefine types so the crate can be minimal dependency.
7    }
8}