ged_io 0.13.0

A parser for GEDCOM files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
# ged_io

**A fast, full-featured GEDCOM parser and writer for Rust**

[![Crates.io](https://img.shields.io/crates/v/ged_io.svg)](https://crates.io/crates/ged_io)
[![Documentation](https://docs.rs/ged_io/badge.svg)](https://docs.rs/ged_io)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

## What is ged_io?

`ged_io` is a Rust library for reading and writing [GEDCOM](https://en.wikipedia.org/wiki/GEDCOM) files - the universal standard for exchanging genealogical data between family tree software.

Whether you're building a genealogy application, migrating data between platforms, or analyzing family history datasets, `ged_io` provides a robust, type-safe API to work with GEDCOM data.

### Key Features

| Feature | Description |
|---------|-------------|
| **Dual Format Support** | Full support for both GEDCOM 5.5.1 and GEDCOM 7.0 specifications |
| **Read & Write** | Parse GEDCOM files into Rust structs, modify them, and write back |
| **Streaming Parser** | Memory-efficient iterator-based parsing for large files |
| **GEDZIP Support** | Read/write `.gdz` archives bundling GEDCOM data with media files |
| **Multiple Encodings** | UTF-8, UTF-16, ISO-8859-1, ISO-8859-15 (Latin-9), ANSEL |
| **JSON Export** | Optional serde integration for JSON serialization |
| **Type Safe** | Strongly-typed Rust structs for all GEDCOM record types |
| **Compatible** | Relax rules to be compatible with most of GEDCOM files |

---

## Installation

Add to your `Cargo.toml`:

```toml
[dependencies]
ged_io = "0.11"
```

### Optional Features

```toml
# JSON serialization support
ged_io = { version = "0.11", features = ["json"] }

# GEDZIP archive support (.gdz files)
ged_io = { version = "0.11", features = ["gedzip"] }

# Enable all features
ged_io = { version = "0.11", features = ["json", "gedzip"] }
```

---

## Quick Start

### Parse a GEDCOM File

```rust
use ged_io::GedcomBuilder;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let content = std::fs::read_to_string("family.ged")?;
    let data = GedcomBuilder::new().build_from_str(&content)?;

    println!("GEDCOM version: {:?}", data.gedcom_version());
    println!("Individuals: {}", data.individuals.len());
    println!("Families: {}", data.families.len());

    for person in &data.individuals {
        if let Some(name) = person.full_name() {
            println!("  - {}", name);
        }
    }

    Ok(())
}
```

### Write a GEDCOM File

```rust
use ged_io::{GedcomBuilder, GedcomWriter};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Parse existing file
    let content = std::fs::read_to_string("input.ged")?;
    let data = GedcomBuilder::new().build_from_str(&content)?;

    // Write to new file
    let writer = GedcomWriter::new();
    let output = writer.write_to_string(&data)?;
    std::fs::write("output.ged", output)?;

    Ok(())
}
```

---

## Use Cases

### 1. Family Tree Application Backend

Build genealogy software with full GEDCOM import/export:

```rust
use ged_io::{GedcomBuilder, GedcomWriter};

// Import from any genealogy software
let data = GedcomBuilder::new()
    .validate_references(true)  // Ensure data integrity
    .build_from_str(&content)?;

// Access family relationships
for family in &data.families {
    let parents = data.get_parents(family);
    let children = data.get_children(family);
    // Build your family tree UI...
}

// Export back to GEDCOM
let writer = GedcomWriter::new();
std::fs::write("export.ged", writer.write_to_string(&data)?)?;
```

### 2. Data Migration Between Platforms

Convert GEDCOM files between formats or migrate to JSON:

```rust
use ged_io::GedcomBuilder;

// Read GEDCOM 5.5.1 file
let data = GedcomBuilder::new().build_from_str(&old_content)?;

// Check version and migrate
if data.is_gedcom_5() {
    println!("Migrating from GEDCOM 5.5.1...");
}

// Export as JSON (requires "json" feature)
#[cfg(feature = "json")]
{
    let json = serde_json::to_string_pretty(&data)?;
    std::fs::write("family.json", json)?;
}
```

### 3. Genealogy Data Analysis

Analyze family history datasets:

```rust
use ged_io::GedcomBuilder;

let data = GedcomBuilder::new().build_from_str(&content)?;

// Find all people with a specific surname
let smiths = data.search_individuals_by_name("Smith");
println!("Found {} Smiths", smiths.len());

// Analyze source citations
let citation_stats = data.count_source_citations();
println!("Total citations: {}", citation_stats.total);

// Find birth/death statistics
for person in &data.individuals {
    if let (Some(birth), Some(death)) = (person.birth_date(), person.death_date()) {
        println!("{}: {} - {}", 
            person.full_name().unwrap_or_default(), 
            birth, death);
    }
}
```

### 4. GEDZIP Archive Processing

Work with GEDCOM 7.0 bundled archives:

```rust
use ged_io::GedcomBuilder;
use ged_io::gedzip::{GedzipReader, write_gedzip_with_media};
use std::collections::HashMap;

// Read GEDZIP with embedded photos
let bytes = std::fs::read("family.gdz")?;
let data = GedcomBuilder::new().build_from_gedzip(&bytes)?;

// Extract media files
let cursor = std::io::Cursor::new(&bytes);
let mut reader = GedzipReader::new(cursor)?;
for filename in reader.media_files() {
    let media_bytes = reader.read_media_file(filename)?;
    std::fs::write(format!("extracted/{}", filename), media_bytes)?;
}

// Create new GEDZIP with media
let mut media = HashMap::new();
media.insert("photos/grandpa.jpg".to_string(), std::fs::read("grandpa.jpg")?);
let archive = write_gedzip_with_media(&data, &media)?;
std::fs::write("new_family.gdz", archive)?;
```

### 5. Streaming Large Files

Process large GEDCOM files without loading everything into memory:

```rust
use ged_io::{GedcomStreamParser, GedcomRecord, GedcomData};
use std::fs::File;
use std::io::BufReader;

// Stream records one at a time
let file = File::open("huge_family.ged")?;
let reader = BufReader::new(file);
let parser = GedcomStreamParser::new(reader)?;

for result in parser {
    match result? {
        GedcomRecord::Individual(indi) => {
            println!("Found: {}", indi.full_name().unwrap_or_default());
        }
        GedcomRecord::Family(fam) => {
            println!("Family: {}", fam.xref.as_deref().unwrap_or("?"));
        }
        _ => {} // Handle other record types
    }
}

// Or collect into GedcomData when needed
let file = File::open("huge_family.ged")?;
let reader = BufReader::new(file);
let parser = GedcomStreamParser::new(reader)?;
let data: GedcomData = parser
    .collect::<Result<Vec<_>, _>>()?
    .into_iter()
    .collect();
```

Note: The streaming parser requires UTF-8 input. For files with other encodings,
read and convert to UTF-8 first, or use `GedcomBuilder::build_from_str()` which
handles encoding detection automatically.

---

## API Overview

### Core Types

| Type | Description |
|------|-------------|
| `GedcomData` | The root container holding all parsed records |
| `Individual` | A person record (INDI) |
| `Family` | A family unit record (FAM) |
| `Source` | A source citation record (SOUR) |
| `Repository` | A repository record (REPO) |
| `Multimedia` | A multimedia object record (OBJE) |
| `SharedNote` | A shared note record (SNOTE) - GEDCOM 7.0 |

### Builder Configuration

```rust
let data = GedcomBuilder::new()
    .strict_mode(false)           // Lenient parsing (default)
    .validate_references(true)    // Check cross-reference integrity
    .ignore_unknown_tags(false)   // Report unknown tags
    .max_file_size(Some(50_000_000))  // 50 MB limit
    .build_from_str(&content)?;
```

Lenient parsing policy (default):
- Accepts common real-world quirks (UTF-8 BOM, CRLF line endings, trailing newline at EOF).
- Allows missing `HEAD` and/or `TRLR` records (the parser stops cleanly at EOF).
- Keeps writing strict: the writer always emits valid GEDCOM output (including `0 TRLR` without a final newline and using `CONT`/`CONC` for multiline text).

| Option | Default | Description |
|--------|---------|-------------|
| `strict_mode` | `false` | Fail on non-standard tags |
| `validate_references` | `false` | Validate all cross-references exist |
| `ignore_unknown_tags` | `false` | Silently skip unknown tags |
| `max_file_size` | `None` | Maximum file size in bytes |

### Convenience Methods

```rust
// Find records by cross-reference ID
let person = data.find_individual("@I1@");
let family = data.find_family("@F1@");
let source = data.find_source("@S1@");

// Navigate relationships
let families = data.get_families_as_spouse("@I1@");
let parents = data.get_parents(family);
let children = data.get_children(family);
let spouse = data.get_spouse("@I1@", family);

// Search
let matches = data.search_individuals_by_name("Smith");

// Statistics
let total = data.total_records();
let is_empty = data.is_empty();
```

### Indexed Lookups (O(1) Performance)

For large files with frequent lookups:

```rust
use ged_io::indexed::IndexedGedcomData;

let indexed = IndexedGedcomData::from(data);

// O(1) lookups instead of O(n) linear search
let person = indexed.find_individual("@I1@");
let family = indexed.find_family("@F1@");
```

---

## Supported GEDCOM Tags

The library provides full support for GEDCOM 5.5.1 and 7.0 specifications. Tags marked with **7.0** are new in GEDCOM 7.0.

### Records (Level 0)

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| HEAD | Header with file metadata |||
| INDI | Individual person record |||
| FAM | Family group record |||
| SOUR | Source record |||
| REPO | Repository record |||
| OBJE | Multimedia object record |||
| SUBM | Submitter record |||
| SUBN | Submission record || - |
| SNOTE | Shared note record | - ||
| TRLR | Trailer (end of file) |||

### Individual Events

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| ADOP | Adoption |||
| BAPM | Baptism |||
| BARM | Bar Mitzvah |||
| BASM | Bas Mitzvah |||
| BIRT | Birth |||
| BLES | Blessing |||
| BURI | Burial/Depositing remains |||
| CENS | Census |||
| CHR | Christening |||
| CHRA | Adult christening |||
| CONF | Confirmation |||
| CREM | Cremation |||
| DEAT | Death |||
| EMIG | Emigration |||
| EVEN | Generic event |||
| FCOM | First communion |||
| GRAD | Graduation |||
| IMMI | Immigration |||
| NATU | Naturalization |||
| ORDN | Ordination |||
| PROB | Probate |||
| RETI | Retirement |||
| WILL | Will |||

### Family Events

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| ANUL | Annulment |||
| CENS | Census |||
| DIV | Divorce |||
| DIVF | Divorce filed |||
| ENGA | Engagement |||
| EVEN | Generic event |||
| MARB | Marriage bann |||
| MARC | Marriage contract |||
| MARL | Marriage license |||
| MARR | Marriage |||
| MARS | Marriage settlement |||
| RESI | Residence |||
| SEP | Separation | - ||

### Individual Attributes

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| CAST | Caste name |||
| DSCR | Physical description |||
| EDUC | Education |||
| FACT | Generic fact |||
| IDNO | National ID number |||
| NATI | Nationality |||
| NCHI | Number of children |||
| NMR | Number of marriages |||
| OCCU | Occupation |||
| PROP | Property/Possessions |||
| RELI | Religion |||
| RESI | Residence |||
| SSN | Social Security Number |||
| TITL | Title/Nobility |||

### Name Structure

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| NAME | Personal name |||
| GIVN | Given name |||
| NICK | Nickname |||
| NPFX | Name prefix |||
| NSFX | Name suffix |||
| SPFX | Surname prefix |||
| SURN | Surname |||
| TYPE | Name type |||
| FONE | Phonetic variation |||
| ROMN | Romanized variation |||
| TRAN | Translation | - ||

### Family Links

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| CHIL | Child |||
| FAMC | Family as child |||
| FAMS | Family as spouse |||
| HUSB | Husband/Partner |||
| WIFE | Wife/Partner |||
| PEDI | Pedigree linkage type |||
| STAT | Status |||
| ALIA | Alias/Alternate ID |||
| ASSO | Association |||

### Source & Citation

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| SOUR | Source citation |||
| ABBR | Abbreviation |||
| AUTH | Author |||
| CALN | Call number |||
| DATA | Data |||
| PAGE | Page/Location |||
| PUBL | Publication info |||
| QUAY | Quality assessment |||
| REPO | Repository reference |||
| ROLE | Role in event |||
| TEXT | Text from source |||
| TITL | Title |||

### Date & Time

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| DATE | Date |||
| TIME | Time |||
| CHAN | Change date |||
| CREA | Creation date | - ||
| SDATE | Sort date | - ||
| PHRASE | Free-text phrase | - ||

### Place & Address

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| PLAC | Place |||
| ADDR | Address |||
| ADR1 | Address line 1 |||
| ADR2 | Address line 2 |||
| ADR3 | Address line 3 |||
| CITY | City |||
| STAE | State/Province |||
| POST | Postal code |||
| CTRY | Country |||
| MAP | Map coordinates |||
| LATI | Latitude |||
| LONG | Longitude |||
| FONE | Phonetic variation |||
| ROMN | Romanized variation |||
| FORM | Place hierarchy format |||

### Multimedia

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| OBJE | Multimedia link |||
| FILE | File reference |||
| FORM | Media format/type |||
| TITL | Title |||
| MEDI | Medium type |||
| BLOB | Binary data (5.5.1 only) || - |
| CROP | Image crop region | - ||
| TOP | Crop top | - ||
| LEFT | Crop left | - ||
| HEIGHT | Crop height | - ||
| WIDTH | Crop width | - ||

### Notes

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| NOTE | Note |||
| SNOTE | Shared note reference | - ||
| CONT | Line continuation |||
| CONC | Line concatenation || - |
| MIME | MIME type | - ||
| LANG | Language |||
| TRAN | Translation | - ||

### Header & Metadata

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| GEDC | GEDCOM info |||
| VERS | Version |||
| FORM | Format |||
| CHAR | Character encoding || - |
| DEST | Destination |||
| COPR | Copyright |||
| CORP | Corporation |||
| SCHMA | Extension schema | - ||
| TAG | Tag definition | - ||

### Contact Information

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| PHON | Phone |||
| EMAIL | Email |||
| FAX | Fax |||
| WWW | Website |||

### Identifiers

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| REFN | User reference number |||
| RIN | Record ID number |||
| AFN | Ancestral File Number |||
| UID | Unique identifier |||
| EXID | External identifier | - ||

### Event Details

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| TYPE | Event/Fact type |||
| AGE | Age at event |||
| AGNC | Agency |||
| CAUS | Cause |||
| RESN | Restriction notice |||
| NO | Non-event assertion | - ||

### LDS Ordinances

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| BAPL | Baptism, LDS |||
| CONL | Confirmation, LDS |||
| ENDL | Endowment, LDS |||
| SLGC | Sealing, child to parents |||
| SLGS | Sealing, spouse |||
| INIL | Initiatory, LDS | - ||
| TEMP | Temple |||
| STAT | Ordinance status |||

### Submitter & Submission

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| SUBM | Submitter reference |||
| ANCI | Ancestor interest |||
| DESI | Descendant interest |||

### Other

| Tag | Description | 5.5.1 | 7.0 |
|-----|-------------|:-----:|:---:|
| SEX | Sex/Gender |||

### Date Formats

All standard GEDCOM date formats are preserved:

- **Exact**: `15 MAR 1950`
- **Range**: `BET 1900 AND 1910`, `BEF 1900`, `AFT 1900`
- **Period**: `FROM 1900 TO 1910`
- **Approximate**: `ABT 1900`, `CAL 1900`, `EST 1900`

### Calendars

- Gregorian (`@#DGREGORIAN@`)
- Julian (`@#DJULIAN@`)
- Hebrew (`@#DHEBREW@`)
- French Republican (`@#DFRENCH R@`)

### Character Encodings

- UTF-8 (with/without BOM)
- UTF-16 LE/BE
- ANSEL (Z39.47, legacy GEDCOM 5.x encoding)
- ISO-8859-1 (Latin-1)
- ISO-8859-15 (Latin-9)
- ASCII

---

## Command Line Tool

A CLI tool is included for quick GEDCOM inspection:

```bash
# Install
cargo install ged_io

# Help
ged_io --help
ged_io - GEDCOM inspection tool

USAGE:
ged_io <file.ged>
ged_io --individual <XREF> <file.ged>
ged_io --individual-lastname <LASTNAME> <file.ged>
ged_io --individual-firstname <FIRSTNAME> <file.ged>

OPTIONS:
-h, --help                        Print this help
--individual <XREF>               Display a single individual (e.g. @I1@)
--individual-lastname <LASTNAME>  Filter individuals by last name (case-insensitive)
--individual-firstname <FIRSTNAME> Filter individuals by first name (case-insensitive)

NOTES:
If both --individual-lastname and --individual-firstname are set,
individuals matching BOTH filters are listed.

```
Example with one file:
```bash
# Analyze a file
ged_io family.ged
```

Output (example `tests/fixtures/sample.ged`):
```
----------------------
| GEDCOM Data Stats: |
----------------------
  submissions: 0
  submitters: 1
  individuals: 3
  families: 2
  repositories: 1
  sources (records): 1
  source citations: 1
  multimedia: 0
  shared_notes: 0
----------------------
| Citation Breakdown: |
----------------------
  on individuals: 0
  on events: 1
  on attributes: 0
  on families: 0
  on names: 0
  on other: 0
----------------------
```

---

## Building from Source

```bash
# Clone the repository
git clone https://github.com/ge3224/ged_io.git
cd ged_io

# Build
cargo build --release

# Run tests
cargo test --all-features

# Run benchmarks
cargo bench

# Check code quality
cargo clippy --all-targets --all-features -- -D warnings
```

---

## Performance

Criterion benchmarks (`cargo bench`) on this repo's fixtures:

| Fixture | Benchmark | Time (median) |
|---------|-----------|---------------|
| `tests/fixtures/simple.ged` | `GedcomBuilder::build_from_str` | ~10.58 µs |
| `tests/fixtures/sample.ged` | `GedcomBuilder::build_from_str` | ~22.27 µs |
| `tests/fixtures/washington.ged` | `GedcomBuilder::build_from_str` | ~2.93 ms |

Notes:
- The "original" API (`Gedcom::new`) is faster in parsing-only benches (~8.30 µs / ~18.06 µs / ~2.74 ms) because it does less validation/configuration work.
- Round-tripping (parse + write) is benchmarked separately in `benches/memory.rs`.
- Numbers vary by CPU, Rust version, and enabled features.

---

## Documentation

- [API Documentation]https://docs.rs/ged_io - Full API reference
- [MIGRATION.md]MIGRATION.md - GEDCOM 5.5.1 to 7.0 migration guide
- [ROADMAP.md]ROADMAP.md - Project roadmap and planned features
- GEDCOM specifications (bundled in this repo):
  - [GEDCOM 7.0 Specification (PDF)]docs/FamilySearchGEDCOMv7.pdf
  - [GEDCOM 5.5.1 Specification (PDF)]docs/ged551.pdf

---

## Contributing

Contributions are welcome! Areas where help is appreciated:

- Bug reports and feature requests
- Additional test cases and edge cases
- Documentation improvements
- Performance optimizations

Please feel free to open issues or submit pull requests.

---

## License

This project is licensed under the [MIT License](LICENSE).

---

## Acknowledgments

Originally forked from [`pirtleshell/rust-gedcom`](https://github.com/pirtleshell/rust-gedcom).

GEDCOM is a specification maintained by [FamilySearch](https://www.familysearch.org/).