1 2 3 4 5 6 7 8 9 10 11
cfg_if::cfg_if! { if #[cfg(feature = "std")] { mod standard; pub use standard::keystore::*; pub use standard::shell::*; } else { mod no_std; pub use no_std::keystore::*; pub use no_std::shell::*; } }