os-checker-plugin-cargo is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the command-line executable
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install os-checker-plugin-cargo
It will make the os-checker-plugin-cargo command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall os-checker-plugin-cargo uninstalls.
Adding os_checker_plugin_cargo library as a dependency
Run this command in a terminal, in your project's directory:
cargo add os-checker-plugin-cargo
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
os-checker-plugin-cargo = "0.1.6"
The os_checker_plugin_cargo library will be automatically available globally.
Read the os_checker_plugin_cargo library documentation.