axum/examples
2023-11-29 09:52:16 +01: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
auto-reload Add auto-reload example (#2166) 2023-09-11 13:56:47 +02:00
chat Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
consume-body-in-extractor-or-middleware Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
cors Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
customize-extractor-error Add IntoResponse impl to customize-extractor-error example (#2191) 2023-09-11 12:12:03 +00:00
customize-path-rejection Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
diesel-async-postgres Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
diesel-postgres Use inline format args (#2232) 2023-09-19 06:51:57 +00: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 Update graceful shutdown example (#2355) 2023-11-26 10:34:41 +00:00
handle-head-request Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
hello-world Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
http-proxy Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
jwt Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
key-value-store Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
listen-multiple-addrs Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00
low-level-openssl Update example low-level-openssl to axum 0.7 (#2376) 2023-11-29 09:51:31 +01:00
low-level-rustls Update example low-level-rustls to axum 0.7 (#2375) 2023-11-29 09:52:16 +01:00
multipart-form Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
oauth Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +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 Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
prometheus-metrics Fix typo in prometheus-metrics/src/main.rs (#2160) 2023-08-08 08:11:01 +00:00
query-params-with-empty-strings Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
readme Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
reqwest-response Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
rest-grpc-multiplex Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
reverse-proxy Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
routes-and-handlers-close-together Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
serve-with-hyper Add example showing how to use hyper's low level API (#2338) 2023-11-23 13:39:01 +01:00
simple-router-wasm Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
sqlx-postgres Use "set up" rather than "setup" when used as a verb 2023-09-08 16:13:36 +00:00
sse Upgrade headers to 0.4.0 (#2351) 2023-11-25 08:47:57 +00:00
static-file-server Add a use of route_service with ServeFile to the static-file-server example (#2361) 2023-11-27 15:49:54 +01:00
stream-to-file Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
templates Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
testing Fix comment in testing example 2023-11-27 10:58:03 +01:00
testing-websockets Prepare serve for potentially supporting graceful shutdown (#2357) 2023-11-26 12:21:35 +00:00
tls-graceful-shutdown Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
tls-rustls Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
todos Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
tokio-postgres Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
tracing-aka-logging Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
unix-domain-socket Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00
validator Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
versioning Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
websockets Upgrade headers to 0.4.0 (#2351) 2023-11-25 08:47:57 +00:00
README.md Fix typo in examples README: plural form examples 2023-09-05 13:51:18 +00:00

Examples

This folder contains numerous examples 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.