metar 0.9.3

A fast METAR parsing library in pure Rust
Documentation
#![deny(missing_docs)]
#![deny(unsafe_code)]
#![deny(clippy::pedantic)]

//! # METAR parsing library for Rust
//!
//! ## Quick usage
//!
//! This simple usage will print out the parsed data from the METAR.
//!
//! ```rust
//! use metar::Metar;
//!
//! let metar = "EGHI 282120Z 19015KT 140V220 6000 RA SCT006 BKN009 16/14 Q1006";
//! match Metar::parse(metar) {
//!     Ok(metar) => println!("{metar:#?}"),
//!     Err(es) => {
//!         for e in es {
//!             eprintln!("{e}");
//!         }
//!     }
//! }
//! ```
//!
//! ## Issues
//!
//! METARs are complicated structures. If you come across a METAR that doesn't parse
//! correctly, please open an issue and include the METAR. This will aid in debugging
//! the issue significantly.

mod error;
pub use error::{ErrorVariant, MetarError, OwnedMetarError};

mod parsers;
mod traits;

mod types;
pub use types::*;