A tour of the Axum web framework for Rust (while explaining a few error messages)
Автор: timClicks
Загружено: 2023-07-04
Просмотров: 12116
Описание:
Skip to 02:05 to go straight to the code.
Axum, a sub-project of Tokio that works together with sibling crates tower, tonic and hyper, promises ergonomics and modularity. Is that fair? This video introduces viewer to some of the introductory concepts of Axum including response types and its extractor system.
00:00:00 Welcome
00:00:39 Github code repository
00:01:03 Warning about conflicting versions
00:02:05 Introduction to Axum
00:03:02 First web backend
00:08:22 Extractors
00:10:20 Enabling the ConnectInfo extractor to access the peer's IP address and port
00:14:02 Fixing trait bound Handler is not satisfied
00:17:20 Accessing parameters from the URL's query string
00:20:46 Summary and wrap up
📚 Resources:
Axum https://github.com/tokio-rs/axum
Code from video: https://github.com/timClicks/tutorial...
🦀 Rust resources:
Tim's tutorial videos https://timclicks.dev
Rust Documentation: https://doc.rust-lang.org/book/
Rust Playground: https://play.rust-lang.org/
Rust in Action (Tim's book!) https://mng.bz/4MlD
How to Learn Rust (online course!) https://learning.accelerant.dev/how-t...
👋 Connect with Tim:
Twitter: / timclicks
GitHub: https://github.com/timClicks
Mastodon: https://mastodon.nz/@timClicks
DEV: https://dev.to/timclicks/
Patreon (extra learning materials) / timclicks
🔔 Subscribe to the channel and click the bell icon to stay updated with the latest videos and live streams from timClicks: https://www.youtube.com/timClicks?sub...
👍 Like this video if you found it helpful, and share it with your friends who are also interested in Rust programming.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: