1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use super::built_info; /// Return the SDK version pub fn version_string() -> &'static str { built_info::PKG_VERSION } #[cfg(test)] mod tests { use super::*; #[test] fn test_version_string() { assert!(!version_string().is_empty()); } }