5 releases (3 breaking)

new 0.4.0-alpha.1 Mar 14, 2023
0.4.0-alpha.0 Mar 13, 2023
0.3.0 Oct 27, 2022
0.2.0 Aug 7, 2022
0.1.0 Aug 5, 2022

#27 in Simulation

Download history 308/week @ 2022-11-27 31/week @ 2022-12-04 3/week @ 2022-12-11 5/week @ 2022-12-18 2/week @ 2022-12-25 11/week @ 2023-01-01 272/week @ 2023-01-08 2/week @ 2023-01-15 4/week @ 2023-01-22 105/week @ 2023-01-29 4/week @ 2023-02-05 7/week @ 2023-02-12 1058/week @ 2023-02-19 499/week @ 2023-02-26 521/week @ 2023-03-05 1172/week @ 2023-03-12

3,250 downloads per month

MIT license

135KB
3.5K SLoC

demes-forward-capi

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:

  1. A header file
  2. A static C library
  3. A dynamic C library

Requirements

cbindgen generates the header file. We do not use a build script. Rather, we use cbindgen from the command line.

To install:

cargo install cbindgen

Integration with cmake.

See c_examples/ in the repository.

CHANGELOG

See here

Dependencies

~5.5MB
~130K SLoC