linuxver
Rust library to get the Linux kernel version as a parseable SemVer object.
linuxver is available on crates.io and can be included in your Cargo.toml as follows:
[]
= "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