Generating the C header:
Install cbindgen:
cargo install cbindgen
From the root directory, generate the header file:
cbindgen --config include/cbindgen.toml --output include/libaries_askar.h
Note that a few types are currently defined manually, such as ByteBuffer
, because of limitations in the binding generator.