Generating the C header: Install cbindgen: cargo install cbindgen Generate the header file: cbindgen --config include/cbindgen.toml --crate anoncreds --output include/libanoncreds.h