axum/examples
2023-07-26 20:21:39 +02:00
..
anyhow-error-response Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
async-graphql Remove lingering async-graphql example file 2023-01-08 16:28:45 +01:00
chat Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
consume-body-in-extractor-or-middleware Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
cors Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
customize-extractor-error Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
customize-path-rejection Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
diesel-async-postgres Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
diesel-postgres Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
error-handling-and-dependency-injection Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
form Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
global-404-handler Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
graceful-shutdown Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
handle-head-request Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
hello-world Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
http-proxy Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
hyper-1-0 Update to hyper 1.0.0-rc.4 (#2094) 2023-07-15 15:38:38 +00:00
jwt Move TypedHeader to axum-extra (#1850) 2023-04-21 17:45:31 +02:00
key-value-store Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
listen-multiple-addrs Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
low-level-openssl Remove impl Connected<&AddrStream> for SocketAddr (#1954) 2023-04-21 18:24:47 +02:00
low-level-rustls Remove impl Connected<&AddrStream> for SocketAddr (#1954) 2023-04-21 18:24:47 +02:00
multipart-form Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
oauth Remove unwraps via '?' with anyhow crate for example-oauth (#2069) 2023-07-04 19:48:58 +00:00
parse-body-based-on-content-type Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
print-request-response Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
prometheus-metrics Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
query-params-with-empty-strings Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
readme Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
rest-grpc-multiplex Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
reverse-proxy Remove unwrap from example-reverse-proxy 2023-07-01 23:12:23 +02:00
routes-and-handlers-close-together Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
simple-router-wasm Re-integrate examples into the root workspace (#1466) 2023-03-10 12:02:11 +01:00
sqlx-postgres Update to latest sqlx in example (#2099) 2023-07-16 13:49:53 +02:00
sse Move TypedHeader to axum-extra (#1850) 2023-04-21 17:45:31 +02:00
static-file-server Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
stream-to-file Remove unwrap from example-stream-to-file 2023-07-01 23:12:23 +02:00
templates Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
testing Remove unnecessary allow(dead_code) from testing example (#2117) 2023-07-25 17:30:19 +00:00
testing-websockets Update tokio-tungstenite to 0.19 (#2021) 2023-06-23 00:03:30 +02:00
tls-rustls Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
todos Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
tokio-postgres Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
tracing-aka-logging Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
unix-domain-socket Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
validator Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
versioning Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
websockets Update tokio-tungstenite to 0.19 (#2021) 2023-06-23 00:03:30 +02: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.