axum/examples
David Pedersen 2bd0310463
New method router (#521)
* Empty crate

* basic setup

* Support `HEAD`

* Add remaining methods

* Impl Debug

* Add `MethodRouter::merge`

* WIP

* Support same route with different methods in different calls

* Update changelog

* Bring back `any` and `any_service`

* Address review feedback
2021-11-16 20:49:07 +01:00
..
async-graphql Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
chat Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
cors Add CORS example (#512) 2021-11-13 22:18:14 +01:00
customize-extractor-error Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
error-handling-and-dependency-injection Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
form Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
global-404-handler Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
graceful_shutdown Move axum crate into workspace subfolder (#458) 2021-11-03 12:38:48 +01:00
hello-world Move axum crate into workspace subfolder (#458) 2021-11-03 12:38:48 +01:00
http-proxy Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
jwt Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
key-value-store Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
low-level-rustls Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
multipart-form Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
oauth Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
print-request-response Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
query-params-with-empty-strings FromStr based empty_string_as_none implementation (#486) 2021-11-09 13:05:31 +01:00
readme Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
reverse-proxy Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
sessions Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
sse New method router (#521) 2021-11-16 20:49:07 +01:00
static-file-server New method router (#521) 2021-11-16 20:49:07 +01:00
templates Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
testing Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
tls-rustls update tls-rustls example (#494) 2021-11-10 15:07:09 +01:00
todos Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
tokio-postgres Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
tracing-aka-logging Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
unix-domain-socket Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
validator Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
versioning Use nightly clippy & rustfmt for more style checks (#487) 2021-11-09 11:53:57 +00:00
websockets New method router (#521) 2021-11-16 20:49:07 +01:00
README.md Restructure community showcase (#454) 2021-11-03 09:20:01 +01:00

Examples

This folder contains numerous example showing how to use axum. Each example is setup as its own crate so its dependencies are clear.

For a list of what the community built with axum, please see the list here.