1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#![forbid(unsafe_code)] // https://www.reddit.com/r/rust/comments/1efvn7k/arc_vs_rc_for_library_writers/ #[cfg(not(feature = "async"))] pub use std::rc::Rc as SharedPointer; #[cfg(feature = "async")] pub use std::sync::Arc as SharedPointer; // // #[allow(unused_imports)] // pub use crate::{ // // internal crates here // }; pub use { // crossbeam, // thiserror, };