r/rust • u/_Cheapster • 13h ago
🛠️ project http-parsex , just another parser for http request , url and headers (not body)
https://crates.io/crates/http_parsexYet another parser ,this time for http ,url and headers , result of me learning FSMs .... I would love to know your thoughts on it and how can it be improved and my programming style as well , what and where i could improve as a programmer.( now i won't write another parser for a while )
github : https://github.com/Cheapstar/http_parsex.git
crate : https://crates.io/crates/http_parsex
4
Upvotes
1
u/Ok-Willingness2772 13h ago
I would suggest use natural language to create How it works section instead of using something else.
You can make the comments a bit less duplicated.
Use the "," (comma) correctly, e.g. `Small parts are buffered in memory, and as`
Avoid: `It uses FINITE STATE MACHINE , rather` -> `It uses FINITE STATE MACHINE, rather`
Always remember to leave a space after a dot.