Get OS details on multiple platforms. The goal of the library is to provide a simple interface to get the OS kind, version and name.
use os_name::get_os_info;
let os_info = get_os_info();
assert_eq!(os_info.name.unwrap(), "Sonoma");
serde
: Enable this feature to add Serde support.