#mrt #bgp #rfc6396 #ipnetwork

mrt_parser

Multi-Threaded Routing Toolkit (MRT) Routing Information Export Format parser (RFC 6396)

5 releases (breaking)

0.5.0 Jul 13, 2021
0.4.0 Jan 6, 2019
0.3.0 Dec 22, 2018
0.2.0 May 15, 2018
0.1.0 Mar 24, 2018

#6 in #mrt

BSD-2-Clause

19KB
451 lines

mrt_parser

Multi-Threaded Routing Toolkit (MRT) Routing Information Export Format (RFC 6396) parser library for Rust. Inspired by parser from pyasn.

Currently, only PEER_INDEX_TABLE, RIB_IPV4_UNICAST and RIB_IPV6_UNICAST subtypes from TABLE_DUMP_V2 type and TABLE_DUMP type are supported.

Documentation Build Status Crates.io

Usage

Add this to your Cargo.toml:

[dependencies]
mrt_parser = "0.5"

and this to your crate root:

extern crate mrt_parser;

Minimal required version of Rust compiler is 1.31 (because of 2018 edition). For older Rust versions, you can use mrt_parser version 0.2.

Dependencies

~265KB