Skip to content
/ os_name Public

Cross platform library to get os name and version

License

Notifications You must be signed in to change notification settings

caido/os_name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Name

github crates.io

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");

Features

  • serde: Enable this feature to add Serde support.

About

Cross platform library to get os name and version

Topics

Resources

License

Stars

Watchers

Forks

Languages