Debian Codegraph @

/

debian rust-uname 0.1.1-1debian librust-uname-dev debian librust-uname+default-dev debian librust-uname-0-dev debian librust-uname-0+default-dev debian librust-uname-0.1-dev debian librust-uname-0.1+default-dev debian librust-uname-0.1.1-dev debian librust-uname-0.1.1+default-dev cargo uname 0.1.1 debianjsonmakefilemarkdownrustrust-c-abishelltomlyaml 15 files · 74 symbols
View dependency graph

Depends on

README (full)

rust-uname

Name and information about current kernel

Dashboard

Linux CITest CoverageCrateDocumentation
Build StatusCoverage StatusCrateDocs

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.

dir debian/
dir examples/
dir src/
file .gitignore
file .travis.yml
file Cargo.toml
file Cargo.toml.orig
file LICENSE-APACHE
file LICENSE-MIT
file README.md