- 1. axum
- 1.1. Goals
- 1.2. Notes
- 1.3. How to run the examples?
- 1.4. How to run the tests?
- 1.5. ECOSYSTEM
- 1.6. Crates in use
- 1.7. Outline
- 2. Introduction
- 2.1. Hello World
- 2.2. Echo GET
- 2.3. Echo POST
- 2.4. Path parameters
- 3. Input validation
- 3.1. Versioning - path parameter with fixed values
- 3.2. Query params - GET requests
- 3.3. Form - POST request
- 3.4. Validator
- 4. Middleware
- 4.1. print-request-response
- 5. Templating Systems
- 5.1. Askama Templates
- 5.2. Minijinja templates
- 6. Global 404 handler
- 7. Redirect
- 8. Minimal logging setup
- 9. Anyhow error response
- 10. compression
- 11. testing
- 12. Handle HEAD request
- 13. todos
- 14. readme
- More Examples
- 15. TODO
- 15.1. cors
- 15.2. consume-body-in-extractor-or-middleware
- 15.3. customize-extractor-error
- 15.4. customize-path-rejection
- 15.5. dependency-injection
- 15.6. error-handling
- 15.7. graceful-shutdown
- 15.8. jwt
- 15.9. http-proxy
- 15.10. multipart-form
- 15.11. reqwest-response
- 15.12. parse-body-based-on-content-type
- 15.13. unix-domain-socket
- 15.14. tracing-aka-logging
- 15.15. tls-rustls
- 15.16. tls-graceful-shutdown
- 15.17. stream-to-file
- 15.18. static-file-server
- 15.19. sse
- 15.20. simple-router-wasm
- 15.21. serve-with-hyper
- 15.22. routes-and-handlers-close-together
- 15.23. reverse-proxy
- 15.24. request-id
- 15.25. prometheus-metrics
- 15.26. oauth
- 15.27. low-level-rustls
- 15.28. low-level-openssl
- 15.29. low-level-native-tls
- 15.30. key-value-store
- 15.31. auto-reload
- Websockets
- 16. websockets
- 17. websockets-http2
- 18. testing-websockets
- 19. chat
- Databases
- 20. tokio-redis
- 21. tokio-postgres
- 22. sqlx-postgres
- 23. mongodb
- 24. diesel-postgres
- 25. diesel-async-postgres