Crates.io | forrustts |
lib.rs | forrustts |
version | 0.2.0 |
source | src |
created_at | 2020-12-29 00:35:28.299956 |
updated_at | 2021-04-23 17:48:50.112342 |
description | Tools for forward simulation with tree sequence recording |
homepage | https://github.com/ForwardSimulation/forrustts |
repository | https://github.com/ForwardSimulation/forrustts |
max_upload_size | |
id | 328533 |
size | 144,621 |
This package is currently "experimental"!
forrustts
(pronounced "forests") is a port of many ideas from the fwdpp library from C++ to rust.
It is licensed under the GNU General Public License, version 3 or later ("GPL3+").
cargo build
cargo test
Example programs are in the subdirectory examples/
:
cargo build --examples
The binaries will then be found in target/debug/examples
.
To build optimized examples:
cargo build --release --examples
The binaries will then be found in target/release/examples
.
These programs use clap for command-line options.
Pass --help
to any of them for usage information.
CI testing is done using GitHub actions for both Linux
and macOS
.
These actions include using clippy, which is a very strict code linter.
The actions also check code format using rustfmt.
Use tarpaulin. The documentation for that crate is excellent. The short version is:
cargo tarpaulin -o html
This command will run the tests and generate a nice html
report.
See here.