examples | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
linux_battery
A battery parser using linux' power_supply
class.
Build
debug
cargo build
release
cargo build --release
Documentation
cargo doc
The built documentation can be found at target/doc/
.
Example
cargo build --example bat0
cargo run --example bat0