battery-ffi
This is a FFI bindings for battery library.
See the documentation for available functions.
Bindings generation
Among library creation this crate generates battery_ffi.h file,
which might be useful for automatic bindings generation or just with plain C/C++.
After build it will be located somewhere at target/*/build/battery-ffi-*/out/,
depending on build profile (debug/release) and build hash.
Examples
battery-ffi/examples/ folder in the repository
contains examples for C and Python.