Skip to main content

Crate igc

Crate igc 

Source
Expand description

This crate provides a minimal, fast parser for IGC files.

The low level record parser mirrors the raw format of an IGC file closely, and works to minimize the number of heap allocations made during parsing. It is intended to be used as an unopinionated base for building higher level data structures representing traces/tasks/etc..

Individual lines can be parsed with records::Record::parse_line. To parse an entire in-memory file at once, use parse_records, which yields one records::Record per line.

Re-exports§

pub use crate::parse::LineError;
pub use crate::parse::Records;
pub use crate::parse::parse_records;

Modules§

parse
Whole-file parsing API.
records
Low level record parsing API
util
General utility structures and functions