Skip to main content

gxfkit_core/
lib.rs

1//! gxfkit-core: a fast, dependency-light core for reading GFF3/GTF and
2//! converting between them.
3//!
4//! Design notes
5//! ------------
6//! For the M0 spike we deliberately hand-write a tight, allocation-conscious
7//! line parser instead of pulling in `noodles`. GFF/GTF is column-oriented TSV
8//! with a structured 9th column, so a custom parser is small, very fast, and —
9//! crucially for AGAT byte-parity later — gives us total control over how the
10//! output is re-serialized (quoting, attribute order, trailing separators).
11//! We can swap to `noodles` behind this same API if it ever proves worthwhile.
12
13pub mod attributes;
14pub mod convert;
15pub mod model;
16pub mod reader;
17
18pub use model::{Record, Strand};
19pub use reader::{GffReader, ParseError};