demes-forward-capi

Crates.iodemes-forward-capi
lib.rsdemes-forward-capi
version0.5.0
sourcesrc
created_at2022-08-05 15:46:19.548883
updated_at2024-04-16 16:20:14.464913
descriptionC API to demes-forward crate
homepagehttps://github.com/molpopgen/demes-rs
repositoryhttps://github.com/molpopgen/demes-rs
max_upload_size
id639447
size260,021
Kevin R. Thornton (molpopgen)

documentation

README

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

Commit count: 322

cargo fmt