axum/examples
Shing cbb2e8a244
Fix missing assets in websockets example (#1089)
* fix missing assets running websockets example

* Update examples/websockets/src/main.rs

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>

* remove unnecessary mut

* fix cargo fmt

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-06-15 10:04:44 +02:00
..
async-graphql Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
chat Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
consume-body-in-extractor-or-middleware Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
cors Slightly simplify CORS example (#1027) 2022-05-12 11:36:57 +02:00
customize-extractor-error Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
customize-path-rejection Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
error-handling-and-dependency-injection Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
form Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
global-404-handler Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
graceful-shutdown Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
hello-world Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
http-proxy Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
jwt Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
key-value-store Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
low-level-rustls Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
multipart-form Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
oauth Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
print-request-response Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
prometheus-metrics Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
query-params-with-empty-strings Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
readme Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
rest-grpc-multiplex Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
reverse-proxy Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
routes-and-handlers-close-together Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
sessions Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
sqlx-postgres Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
sse Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
static-file-server Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
stream-to-file Fix vulnerability in example-stream-to-file example (#1040) 2022-05-17 12:38:15 +02:00
templates Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
testing Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
tls-rustls Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
todos Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
tokio-postgres Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
tracing-aka-logging Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
unix-domain-socket Sort dependencies in Cargo.tomls (#1076) 2022-06-10 08:59:17 +02:00
validator Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
versioning Move examples to separate workspace (#978) 2022-04-29 18:53:41 +02:00
websockets Fix missing assets in websockets example (#1089) 2022-06-15 10:04:44 +02:00
Cargo.toml Move examples to separate workspace (#978) 2022-04-29 18:53:41 +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.