ospf_parser/
lib.rs

1//! # OSPFv2 and OSPFv3 Parser
2//!
3//! A parser for the Open Shortest Path First version 2 ([OSPFv2]) and OSPF for IPv6
4//! (also known as [OSPFv3]) routing protocols,
5//! implemented with the [nom](https://github.com/Geal/nom) parser combinator
6//! framework in pure Rust.
7//!
8//! The code is available on [Github](https://github.com/rusticata/ospf-parser)
9//! and is part of the [Rusticata](https://github.com/rusticata) project.
10//!
11//! [OSPFv2]: https://tools.ietf.org/html/rfc2328 "OSPF Version 2, RFC 2328"
12//! [OSPFv3]: https://tools.ietf.org/html/rfc5340 "OSPF for IPv6, RFC 5340"
13
14#![deny(/*missing_docs,*/
15        unstable_features,
16        unused_import_braces, unused_qualifications)]
17#![forbid(unsafe_code)]
18#![allow(clippy::upper_case_acronyms)]
19
20pub extern crate nom;
21
22mod ospfv2;
23mod ospfv3;
24mod parser;
25
26pub use ospfv2::*;
27pub use ospfv3::*;
28pub use parser::*;