rwf2/Rocket ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple async web framework in Rust that feels easy to use and safe by default. I want to be able to write routes with clean function style handlers, mount them under a base path, and launch a server with a small amount of code, like a hello route that can pull values from the URL and turn them into the right types automatically.
Please include a few working examples, a basic getting started guide, and enough documentation comments so someone new to Rust web development can understand how to use it. It should handle bad input cleanly with a normal 404 style response when a path value can’t be parsed. If you need to check current Rust or framework docs online while building it, go ahead. Keep the focus on usability, security, extensibility, and speed, and make the project feel polished enough that people could actually start a real app with it.
Are you gonna build this?
make sure you review the code using coderabbit