axum/examples
David Pedersen 9a410371a6
Move axum-handle-error-extract into axum (#534)
* Move `axum-handle-error-extract` into axum

With 0.4 underway we can now nuke `axum-handle-error-extract` and move
its code directly into axum.

So this replaces the old `HandleErrorLayer` with one that supports async
functions and extractors.

* changelog

* fix CI
2021-11-17 19:09:58 +00: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 Rename box_body to body (#533) 2021-11-17 12:59:29 +00:00
jwt Update tracing-subscriber to 0.3 (#472) 2021-11-06 14:50:23 +00:00
key-value-store Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +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 Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +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 Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +00:00
static-file-server Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +00: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 Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +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 Move axum-handle-error-extract into axum (#534) 2021-11-17 19:09:58 +00: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.