This is a FFI bindings for battery library.
See the documentation for available functions.
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.
battery-ffi/examples/
folder in the repository
contains examples for C and Python.
If you appreciate my work and want to support me, you can do it here or support this project at Open Collective.