Rocket
Rocket copied to clipboard
A web framework for Rust.
**Is your feature request motivated by a concrete problem? Please describe.** When you receive a TempFile, you can do almost nothing with it. Very often you do actually want to...
**Suggested Changes** Having a "good first issue" label would help those that would like a good place to start here. It's a pretty common label to have in large projects...
**Description** In [`core/lib/src/response/responder.rs`, line 109](https://github.com/SergioBenitez/Rocket/blob/f64029f079882c1fe8e47d65d4a57ec260729bea/core/lib/src/response/responder.rs#L109), it is written that ``` /// A `Responder` returns a `Future` whose output type is a `Result`. ``` which would be a very useful feature....
**Is your feature request motivated by a concrete problem? Please describe.** When i'm implement `#[catch(default)]` function to catch any error in the API, i can't access to `rocket::State`. Adding `state:...
**Description** I want to use the `sqlx::query_*` macros as demonstrated in your [database example](https://github.com/SergioBenitez/Rocket/blob/f64029f079882c1fe8e47d65d4a57ec260729bea/examples/databases/src/sqlx.rs) but with Postgres instead of Sqlite. However, when I tried to adapt the example to my...
For file upload, I have been using TempFile. However, I don't feel that it is very ergonomic. You have to store the file first to read it and later delete...
Hi, first-time contributor here! I'd like to request some comments on this change before finalizing it and writing tests. The idea is that when serving e.g. Javascript or image assets...
Add a method to enable modification of fairings during the build & on_ignite phases. Implemented for #2270.
I believe Rocket should provide support for modifying fairings during the ignite phase. This would enable, for example, an API for fairings to register template functions automatically. I'm working on...
**Description** My server has stopped responding to requests. When I logged in to see what was going on, I could see lots of errors that looked like hacking attempts (e.g....