axum/examples
David Pedersen f10508db0b
Revamp error handling model (#402)
* Revamp error handling model

* changelog improvements and typo fixes

* Fix a few more Infallible bounds

* minor docs fixes
2021-10-24 17:33:03 +00:00
..
async-graphql Replace route with Router::new().route() (#215) 2021-08-19 22:37:48 +02:00
chat Update some examples (#364) 2021-10-05 07:50:27 +02:00
customize-extractor-error Fix typo in main.rs (#381) 2021-10-12 18:20:27 +00:00
error-handling-and-dependency-injection Fix dead code warnings (#373) 2021-10-07 16:49:57 +02:00
form Fix dead code warnings (#373) 2021-10-07 16:49:57 +02:00
global-404-handler Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
graceful_shutdown Add graceful shutdown example (#349) 2021-09-28 09:08:49 +00:00
hello-world Fix content-type in example response (#276) 2021-08-26 18:16:41 +00:00
jwt Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
key-value-store Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
low-level-rustls Update some examples (#364) 2021-10-05 07:50:27 +02:00
multipart-form Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
oauth Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
print-request-response Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
reverse-proxy Add reverse-proxy example (#389) 2021-10-19 22:52:19 +02:00
sessions Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
sse Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
static-file-server Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
templates Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
testing Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
tls-rustls Update some examples (#364) 2021-10-05 07:50:27 +02:00
todos Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
tokio-postgres Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
tracing-aka-logging Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
unix-domain-socket Change Connected::connect_info to return Self (#396) 2021-10-19 23:06:15 +02:00
validator Add validator example (#352) 2021-09-28 18:12:23 +02:00
versioning Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
websockets Revamp error handling model (#402) 2021-10-24 17:33:03 +00:00
README.md Add JWT auth example as community showcase (#309) 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.