#linux-kernel #kernel #linux #semver #version #object #parseable

linuxver

Rust library to get the Linux kernel version as a parseable SemVer object

1 unstable release

Uses old Rust 2015

0.1.0 Oct 3, 2016

#140 in #linux-kernel

27 downloads per month

MIT license

2KB

linuxver

Rust library to get the Linux kernel version as a parseable SemVer object.

docs.rs Build Status

linuxver is available on crates.io and can be included in your Cargo.toml as follows:

[dependencies]
linuxver = "0.1.0"

Documentation

Documentation can be found at the official documentation repository: https://docs.rs/linuxver

Example

An example of using this library can be found in the examples directory, which can be run as follows:

cargo run --example simple

Feedback and Enhancements

I welcome feedback and enhancements to this library. Please create a Github Issue or a Pull Request!

License

MIT

Dependencies

~5.5MB
~113K SLoC