axum/examples
David Pedersen 437fe5b931
Make status codes for JsonRejection more precise (#868)
* Fix status codes for `JsonRejection` rejections

Fixes #865

* Apply suggestions from code review

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2022-03-18 16:53:39 +01:00
..
async-graphql Fix minor issues in some examples (#806) 2022-03-01 09:30:09 +00:00
chat Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
consume-body-in-extractor-or-middleware Add example for consuming request body in middleware and extractor (#861) 2022-03-18 15:41:38 +00:00
cors Update tower-http (#581) 2021-12-01 20:14:25 +00:00
customize-extractor-error Make status codes for JsonRejection more precise (#868) 2022-03-18 16:53:39 +01:00
customize-path-rejection Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
error-handling-and-dependency-injection Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
form Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
global-404-handler Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
graceful-shutdown Simplify graceful shutdown (#673) 2021-12-28 16:23:07 +01:00
hello-world Move axum crate into workspace subfolder (#458) 2021-11-03 12:38:48 +01:00
http-proxy Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
jwt Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
key-value-store Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
low-level-rustls Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
multipart-form Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
oauth Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
print-request-response Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
prometheus-metrics Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
query-params-with-empty-strings FromStr based empty_string_as_none implementation (#486) 2021-11-09 13:05:31 +01:00
readme Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
reverse-proxy Add note about order of extractors in the reverse-proxy example (#821) 2022-03-03 22:33:33 +01:00
routes-and-handlers-close-together Example for defining routes and handlers close together (#621) 2021-12-12 23:54:18 +01:00
sessions Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
sqlx-postgres Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
sse Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
static-file-server Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
templates Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
testing Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
tls-rustls Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
todos Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
tokio-postgres Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
tracing-aka-logging Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
unix-domain-socket Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
validator Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
versioning Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +01:00
websockets Replace set_var usage in examples (#829) 2022-03-06 12:37:00 +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.