This crate provides rust bindings to tskit.
This package provides the following:
tskit
and kastore
.
We use bindgen to automatically generate the bindings.tskit
error
codes to rust
errors while preserving error messages.The overview is:
tskit
and kastore
source from tskit 0.3.5
are include in subprojects/
rust
package.bindgen
generates the bindings.The result is a rust
library with all of these two C libraries statically compiled in.
Further, rust
types and functions exist in the module name tskit::bindings
, allowing unsafe
access to the low-level API.
Help wanted!
sh
git clone https://github.com/molpopgen/tskit_rust
cd tskit_rust
cargo build
cargo test
Then, to look at the docs:
cargo doc --open
See here.