gramps_xml 0.1.0

Rust library to work with Gramps XML files.
Documentation
use gramps_xml::types::{
    Database,
    people::{People, Person},
};

fn main() {
    let mut db = Database::default();

    db.people = Some(People {
        person: Some(vec![Person {
            gender: "U".to_string(),
            ..Default::default()
        }]),
        ..Default::default()
    });

    let s = gramps_xml::to_string(db).unwrap();
    println!("{s}");
}