1pub mod core;
23pub mod genetics;
24pub mod graph;
25pub mod kinship;
26pub mod layout;
27pub mod prelude;
28pub mod render;
29
30pub use crate::core::{
31 AdoptionType, ChildlessType, Individual, Ped, PregnancyLossType, Sex, Status, TwinType,
32};
33pub use crate::genetics::{Genotype, Marker, MendelianError};
34pub use crate::graph::{
35 break_loops, find_inbreeding_loops, has_inbreeding_loops, peeling_order, InbreedingLoop,
36 LoopBreaker,
37};
38pub use crate::kinship::{compute_kinship_matrix, KinshipMatrix};
39pub use crate::layout::{LayoutOptions, PedLayout};
40pub use crate::render::{render_svg, ClinicalSymbol, RenderOptions};
41
42pub fn version() -> &'static str {
43 env!("CARGO_PKG_VERSION")
44}
45
46#[cfg(test)]
47mod tests {
48 use super::*;
49
50 #[test]
51 fn test_pedigree_rs_version() {
52 assert!(!version().is_empty());
53 }
54}