8 releases (4 breaking)
0.5.0 | Apr 16, 2024 |
---|---|
0.4.0 | Sep 26, 2023 |
0.3.0 | Mar 30, 2023 |
0.2.1 | Feb 8, 2023 |
0.1.0 | Jul 21, 2022 |
#991 in Algorithms
177 downloads per month
Used in demes-forward-capi
385KB
9K
SLoC
demes-forward
This crate provides a rust API for iterating overs demes graphs forwards in time.
lib.rs
:
Forward-time traversal of demes models.
Re-exports
This crate re-exports demes
.
Client code does not have to list demes
as a cargo dependency, guaranteeing that
a compatible version is available.
use demes_forward::demes;
let yaml = "
time_units: generations
demes:
- name: a_deme
epochs:
- start_size: 100
";
assert!(demes::loads(yaml).is_ok());
Dependencies
~4.5–7MB
~124K SLoC