Pregenerate C bindings
I tried to compile this both on Linux and on macOS and both times I hit by issues by rust-bindgen.
In order to somehow ease the experience, wouldn't it be better to use pre-generate the bindings offline? I know that rust-bindgen recommends to invoke it as part of build.rs script. However, I believe they recommend it for the default case, when the target is not known and of course definitions can change.
In the case rust-card10 (I assume) the target is pretty much fixed and in theory it should be fine to just pregenerate the bindings.