2024-08-23: NOTICE - This project has been archived and no further updates will be made.
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:
[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:
cargo run --example simple
I welcome feedback and enhancements to this library. Please create a Github Issue or a Pull Request!
MIT