The mrt-rs crate provides functionality to parse an MRT-formatted streams.
Examples
Reading a MRT file containing BPG messages
use File;
use Record;
use BGP4MP;
// Open an MRT-formatted file.
let mut file = open.unwrap;
// Keep reading (Header, Record) tuples till the end of the file has been reached.
while let Some = read.unwrap