#![doc = include_str!(concat!(env!("OUT_DIR"), "/doc.txt"))]
#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod codetables;
mod context;
pub mod cookbook;
mod datatypes;
mod decoder;
pub mod def;
mod error;
mod grid;
mod helpers;
mod parser;
mod reader;
mod time;
pub mod utils;

pub use crate::{
    codetables::Code::{self, Name, Num},
    context::*,
    datatypes::*,
    decoder::*,
    error::*,
    grid::{
        GridDefinitionTemplateValues, GridPointIndex, GridPointIndexIterator, GridPointLatLons,
        GridShortName, LatLons,
    },
    parser::*,
    reader::*,
    time::*,
};

#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;
