1#![doc = include_str!(concat!(env!("OUT_DIR"), "/doc.txt"))]
2#![cfg_attr(doc, deny(warnings))]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4
5pub mod codetables;
6mod context;
7pub mod cookbook;
8mod datatypes;
9mod decoder;
10pub mod def;
11pub mod encoder;
12mod error;
13mod grid;
14mod helpers;
15mod parser;
16pub mod projection;
17mod reader;
18#[cfg(test)]
19mod test_utils;
20mod time;
21pub mod utils;
22
23pub use grib_template_helpers::{
24 Dump, FieldOffset, FixedSize, MissingValue, ReadFixedField, TryFromSlice, WriteToBuffer,
25};
26
27pub use crate::{
28 codetables::Code::{self, Name, Num},
29 context::*,
30 datatypes::*,
31 decoder::*,
32 error::*,
33 grid::{
34 GridDefinitionTemplateValues, GridPointIndex, GridPointIndexIterator, GridPointLatLons,
35 GridShortName, LatLons,
36 },
37 parser::*,
38 reader::*,
39 time::*,
40};
41
42#[rustfmt::skip]
44pub use grib_template_helpers::CodeTable;
45
46#[doc = include_str!("../README.md")]
47#[cfg(doctest)]
48pub struct ReadmeDoctests;