An RFC 2622 conformant Routing Policy Specification Language (RPSL) parser with a focus on speed and correctness. It is written in Rust and extensively leverages zero-copy, outperforming other parsers by a factor of 33-60x. To ensure robust parsing of any valid RPSL input, an exhaustive suite of property based tests is used.
[!WARNING] This project is still in early stages of development and its API is not yet stable.
Examples
let role_acme = "
role: ACME Company
address: Packet Street 6
address: 128 Series of Tubes
address: Internet
email: rpsl-parser@github.com
nic-hdl: RPSL1-RIPE
source: RIPE
";
let parsed = parse_rpsl_object.unwrap;
println!;
Outputs the following object:
[
)