rocket_cors icon indicating copy to clipboard operation
rocket_cors copied to clipboard

Cross-origin resource sharing (CORS) for Rocket.rs applications

Results 9 rocket_cors issues
Sort by recently updated
recently updated
newest added

``` --> /home/kvin/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_cors-0.6.0-alpha1/src/fairing.rs:29:18 | 29 | let _ = &__arg2; | ^^^^^^ not found in this scope ```

Is it a good idea to have the configuration in Rocket.toml instead of a separated file? I will be happy to make a PR :)

cf. - https://github.com/JamesIves/github-pages-deploy-action/issues/5 - https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m--p/31266/highlight/true#M743

enhancement

When building in a dockerfile on `stable`, rustdoc breaks. The dockerfile, building a basic Rocket 5.0-rc1 app. ``` FROM ekidd/rust-musl-builder:latest ... RUN rustup target add x86_64-unknown-linux-musl ... RUN cargo build...

Hi, I'm using your really nice crate and more specifically the fairing implementation you provided : https://github.com/lawliet89/rocket_cors/blob/master/examples/fairing.rs It works well, except for one small thing : I can't find a...

support

Currently, build and test are run against the most recent versions of stable and nightly Rust. When Rocket 0.5 is released, its MSRV should be tested against as well.

I'm trying to get this to work, but don't have any CORS headers in my responses. At some point I tried the example: `cargo run --example fairing` in this repo,...

Updates the requirements on [http](https://github.com/hyperium/http) to permit the latest version. Release notes Sourced from http's releases. v1.0.0 What's Changed Implement Clone for Request, Response, and Extensions. This breaking change requires...

dependencies

I am trying to use this crate but no matter what I do, there are no cors headers in the routes. ![image](https://github.com/user-attachments/assets/4a898f2d-ad0a-44fe-a33e-dc27c69f1665) ```rs #[get("/")] fn index(cors: rocket_cors::Guard