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:
toml
[dependencies]
linuxver = "0.1.0"
Documentation can be found at the official documentation repository: https://docs.rs/linuxver
An example of using this library can be found in the examples directory, which can be run as follows:
shell
cargo run --example simple
I welcome feedback and enhancements to this library. Please create a Github Issue or a Pull Request!
MIT