axum/examples
David Pedersen c8cf147657
Make sure axum-extra also supports being compiled to WASM (#2237)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-09-21 15:14:57 +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
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 Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
cors Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02: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 Use inline format args (#2232) 2023-09-19 06:51:57 +00: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 Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
hyper-1-0 Update to hyper 1.0.0-rc.4 (#2094) 2023-07-15 15:38:38 +00:00
jwt Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
key-value-store Use inline format args (#2232) 2023-09-19 06:51:57 +00: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 Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
oauth Use inline format args (#2232) 2023-09-19 06:51:57 +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 Use inline format args (#2232) 2023-09-19 06:51:57 +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 Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
readme Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
reqwest-response Add example showing how to proxy reqwest::Response (#2138) 2023-08-02 08:15:47 +00:00
rest-grpc-multiplex Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
reverse-proxy Use inline format args (#2232) 2023-09-19 06:51:57 +00: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 Make sure axum-extra also supports being compiled to WASM (#2237) 2023-09-21 15:14:57 +02:00
sqlx-postgres Use "set up" rather than "setup" when used as a verb 2023-09-08 16:13:36 +00:00
sse Mention tokio-stream in SSE example 2023-08-06 20:45:35 +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 Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
testing Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
testing-websockets Update tokio-tungstenite 0.20 (#2116) 2023-08-02 09:38:56 +02:00
tls-graceful-shutdown Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
tls-rustls Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
todos Use inline format args (#2232) 2023-09-19 06:51:57 +00: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 Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
validator Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
versioning Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
websockets Use inline format args (#2232) 2023-09-19 06:51: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.