lib.rs (433B)
1 #![forbid(unsafe_code)] 2 #![cfg_attr(coverage_nightly, feature(coverage_attribute))] 3 4 pub mod app; 5 pub mod core; 6 #[cfg_attr(coverage_nightly, coverage(off))] 7 pub mod transport; 8 9 pub const fn crate_name() -> &'static str { 10 env!("CARGO_PKG_NAME") 11 } 12 13 #[cfg(test)] 14 #[cfg_attr(coverage_nightly, coverage(off))] 15 mod tests { 16 #[test] 17 fn crate_name_matches_package() { 18 assert_eq!(super::crate_name(), "radrootsd"); 19 } 20 }