axum/examples
Chan Kang b85bdc1be9
Fix comment spacing in websocket example
2024-04-11 07:57:11 -04: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 Fix typo in auto-reload example. (#2680) 2024-03-26 10:22:59 +01: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
dependency-injection Add dependency injection example (#2466) 2023-12-30 18:11:33 +01: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 Rework error handling example (#2382) 2023-12-29 01:49:13 +01: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 Remove outdated comment 2023-12-29 17:51:14 +01: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 example http-proxy to hyper 1.0 (#2394) 2023-12-02 16:58:31 +01: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 Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +01:00
low-level-rustls Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +01:00
multipart-form Update to latest versions of hyper and http-body (#1882) 2023-11-23 11:03:03 +00:00
oauth Upgrade reqwest to 0.12 (#2688) 2024-03-29 08:34:56 +01: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_example (#2627) 2024-03-02 21:51:18 +01: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 Upgrade reqwest to 0.12 (#2688) 2024-03-29 08:34:56 +01: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 example reverse-proxy to axum 0.7 (#2395) 2023-12-02 11:48:10 +01: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 Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +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 reqwest to 0.12 (#2688) 2024-03-29 08:34:56 +01: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
templates-minijinja add minijinja templating example (#2523) 2024-02-11 12:17:41 +01:00
testing Update `sync_wrapper` to 1.0.0 from 0.1.1 2024-03-23 19:46:20 +01:00
testing-websockets Upgrade tokio-tungstenite to 0.21 (#2435) 2023-12-18 15:13:35 +01:00
tls-graceful-shutdown Update example-tls-graceful-shutdown 2023-12-31 00:18:55 +01:00
tls-rustls Updating `tls-rustls` example (#2457) 2023-12-29 01:07:58 +01: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
tokio-redis feat: add simple tokio redis example (#2543) 2024-02-11 12:27:12 +01: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 Fix comment spacing in websocket example 2024-04-11 07:57:11 -04:00
README.md Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +01:00

README.md

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.