This crate provides a C interface to demes-forward.
In general, you should prefer the other crate unless you are working in C/C++.
This crate generates:
cbindgen generates the header file.
We do not use a build script.
Rather, we use cbindgen
from the command line.
To install:
sh
cargo install cbindgen
cmake
.See c_examples/
in the repository.
See here