rust-bakery / nom

Rust parser combinator framework
MIT License
9.48k stars 806 forks source link

Move nom into nom_core workspace and re-export #1787

Open Ben-PH opened 1 day ago

Ben-PH commented 1 day ago

This allows for the re-export of not only nom-core, thus making this a no-change to the api, it also allows for reexport of other community extensions, such as nom-supreme

I hope to follow up on this PR by

The goal is to be able to integrate the nom ecosystem so that, instead of having to run

cargo add nom
cargo add nom-supreme
cargo add nom-locate

you can:

cargo add nom -F supreme locate

extra bit of fun:

to keep with the theme of this crate, we could also start adding "menu items". "extra toppings" (e.g. more verbose debug tracing). "amuse bouche" (e.g. exercise examples: have test cases and unimplemented parsers and implement them locally).