uname 0.1.1

Name and information about current kernel
Documentation
  • Coverage
  • 0%
    0 out of 10 items documented0 out of 3 items with examples
  • Size
  • Source code size: 16.67 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • icorderi/rust-uname
    9 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • icorderi

rust-uname

Name and information about current kernel

Dashboard

Linux CI Test Coverage Crate Documentation
Build Status Coverage Status Crate Docs

Basic usage

extern crate uname;

use uname::uname;

fn main() {
    let info = uname().unwrap();

    // Print the hostname
    println!("{}", info.hostname);
    // Print everything
    println!("{:?}", info);
}

Don't forget to check out the examples

License

Licensed under:

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.