hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
217 stars 20 forks source link

update nom to 2.0 #34

Closed yanns closed 7 years ago

yanns commented 7 years ago

https://unhandledexpression.com/2016/11/25/this-year-in-nom-2-0-is-here/

hjr3 commented 7 years ago

I have some of the chain! calls converted to do_parse! in another branch too.

yanns commented 7 years ago

Oh I oversaw this deprecation. Rust does not warn about this. (Maybe it is not possible yet.)

hjr3 commented 7 years ago

No worries. I did it mainly to make sure I understood the new format.

yanns commented 7 years ago

I was just expected rustc to emits warning when compiling with deprecated functions.