1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-16 04:16:30 +01:00
axum/examples
David Pedersen f8154a088c
Add example showing up to customize extractor error ()
Lots have been asking about this so makes sense to have an example for.

Once this is merged I'll add a link to it in the docs.
2021-09-30 17:55:58 +00:00
..
async-graphql Replace route with Router::new().route() () 2021-08-19 22:37:48 +02:00
chat Replace route with Router::new().route() () 2021-08-19 22:37:48 +02:00
customize-extractor-error Add example showing up to customize extractor error () 2021-09-30 17:55:58 +00:00
error-handling-and-dependency-injection Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
form Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
global-404-handler Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
graceful_shutdown Add graceful shutdown example () 2021-09-28 09:08:49 +00:00
hello-world Fix content-type in example response () 2021-08-26 18:16:41 +00:00
jwt Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
key-value-store Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
low-level-rustls Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
multipart-form Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
oauth Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
print-request-response Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
sessions Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
sse Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
static-file-server Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
templates Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
testing Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
tls-rustls Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
todos Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
tokio-postgres Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
tracing-aka-logging Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
unix-domain-socket Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
validator Add validator example () 2021-09-28 18:12:23 +02:00
versioning Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
websockets Migrate all examples to use std::env::var_os () 2021-09-12 17:39:43 +02:00
README.md Add JWT auth example as community showcase () 2021-09-08 06:15:17 +00: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.

Community showcase

  • Houseflow: House automation platform written in Rust.
  • Datafuse: Cloud native data warehouse written in Rust.
  • JWT Auth: JWT auth service for educational purposes.