os_name

Crates.ioos_name
lib.rsos_name
version0.1.1
created_at2025-03-06 20:46:01.021416+00
updated_at2025-03-06 22:25:46.547384+00
descriptionCross platform library to get os name and version
homepage
repositoryhttps://github.com/caido/os_name
max_upload_size
id1581788
size15,650
Caido Bot (caidobot)

documentation

README

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.
Commit count: 10

cargo fmt