Rocket
Rocket copied to clipboard
A web framework for Rust.
I think Rocket would benefit heavily from native WebSocket support. Even better would be something similar to [Phoenix's channels](http://www.phoenixframework.org/docs/channels). It's great to see such a comprehensive web framework for Rust...
I'd like to point you on this suggestion https://github.com/rocket-org/Rocket/issues/4 Maybe you can support and step in.
Allow the generic `route` decorator to accept _any_ method. I'd be okay with requiring quotes for non-standard methods. ```rust #[route(FOO, path = "...")] ``` Or ```rust #[route("FOO", path = "...")]...
For example, I want to create a route like: #[get("/.json")] pub fn name_as_json() { /* ... */ } Currently this fails to compile with: ``` error: malformed parameter --> src/web/mod.rs:3:9...
Yes, I know why this isn't as straightforward as it first appears. 1. Why you believe this feature is necessary. Strictly it's not necessary, but it would be rather nice...
It would be nice to have few links to repos/projects which use Rocket. I think adding them to the bottom of Readme would be a nice addition to examples.
It would be nice if Forward could include a Error to return if Forwarding fail to find another route
Imagine you have these routes, ``` rust #[get("/one")] pub async fn get_protected_endpoint(user: Authenticated){} #[get("/one", rank = 2)] pub async fn get_public_endpoint(){} #[get("/two")] pub async fn get_protected_endpoint(user: Authenticated){} ``` A guard...
A common use-case is streaming data from a client to file storage in the cloud. For instance, a file upload that is destined to be stored in Amazon S3. To...
What I want is to inspect every request and if it is anything but POST to /api/auth/register or /api/auth/login then check for for auth header. If header is not present,...
Hi, currently `rocket_db_pools` supports MySQL through `sqlx`. The `mysql_async` crate features a [Pool](https://docs.rs/mysql_async/0.28.1/mysql_async/struct.Pool.html) and could be supported for users who don't want an extra `sqlx` dependency. I've done this for...