Rocket/core/lib
Sergio Benitez 72c91958b7 Support routes that match any method.
This commit introduces support for method-less routes and route
attributes, which match _any_ valid method: `#[route("/")]`. The `Route`
structure's `method` field is now accordingly of type `Option<Route>`.

The syntax for the `route` attribute has changed in a breaking manner.
To set a method, a key/value of `method = NAME` must be introduced:

```rust
#[route("/", method = GET)]
```

If the method's name is a valid identifier, it can be used without
quotes. Otherwise it must be quoted:

```rust
// `GET` is a valid identifier, but `VERSION-CONTROL` is not
#[route("/", method = "VERSION-CONTROL")]
```

Closes #2731.
2024-08-24 03:00:52 -07:00
..
fuzz Support routes that match any method. 2024-08-24 03:00:52 -07:00
src Support routes that match any method. 2024-08-24 03:00:52 -07:00
tests Support routes that match any method. 2024-08-24 03:00:52 -07:00
Cargo.toml Update 'h3' and 's2n_quic' dependencies. 2024-08-16 16:12:12 -07:00
LICENSE-APACHE Symlink license files in all crate directories. 2024-04-06 20:46:07 -07:00
LICENSE-MIT Symlink license files in all crate directories. 2024-04-06 20:46:07 -07:00
build.rs Fix min dependency versions. Update MSRV to 1.64. 2023-12-13 17:49:05 -08:00