#bnf #abnf #backus-naur #rfc5234

abnf-rfc5234

Augumented Backus-Naur Form (ABNF) in accordance with RFC 5234

2 releases

0.1.0-dev.1 Nov 19, 2024

#1 in #abnf

Download history 285/week @ 2024-11-18 13/week @ 2024-11-25

298 downloads per month

ISC license

6KB

abnf-rfc5234

Crates.io Crates.io License

Rust library for working with Augmented BNF (ABNF) Syntax Specifications in accordance with RFC 5234 (https://www.rfc-editor.org/rfc/rfc5234.html).

Parsing is performed using crates pest and pest_derive.

This library is targeted at crates that wish to implement parsing relating to syntax defined in other RFCs.

It is expected that application crates will NOT use abnf-rfc5234 directly, but that they might pull it in as an indirect dependency if they use other library crates that make use of this library crate for parsing of syntax defined in other RFCs.

Notable library crates that use this library crate

None yet :^)

Dependencies

~6–13MB
~158K SLoC