axum/examples
David Pedersen 9fcc884374
Change Connected::connect_info to return Self (#396)
I've been thinking that having an associated type probably isn't
necessary. I imagine most users are either using `SocketAddr` to the
remote connection IP, or writing their own connection struct.
2021-10-19 23:06:15 +02: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 Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02: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 Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02: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 Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02:00
static-file-server Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02: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 Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02: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 Migrate all examples to use std::env::var_os (#312) 2021-09-12 17:39:43 +02: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.