百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

rust-axum-course

> 编程语言
开源

Rust Axum 全程代码。

354 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Rust Axum 全程代码。

Rust Axum Full Course Source Code

Latest Update: 2025-09-21 - Update to Axum 0.8

GitHub Repo - jeremychone-channel/rust-axum-course

This repository contains the source code for the Rust Axum Full Course, which is available on YouTube.
The code is available under the MIT or Apache license and is free to use.

Full Rust Web App Production Blueprint Course and Repository at https://rust10x.com/web-app
(YouTube video: Episode 01 - Rust Web App - Course to Production Coding)

Important: Refresh this repo. I implemented a fix to cookie.add for AUTH_TOKEN (see details below in the Notes section).

Here is a Per Chapter Fork by @FloWi. Big thanks!

Updates

  • 2025-09-21 - Axum 0.7 to 0.8 GitHub tag: axum-07-to-08
  • 2023-11-30 - Axum 0.6 to 0.7 GitHub tag: axum-06-to-07

Dev (REPL)

bash
# Terminal 1 - To run the server.
cargo watch -q -c -w src/ -x "run"

# Terminal 2 - To run the tests.
cargo watch -q -c -w examples/ -x "run --example quick_dev"

Dev

bash
# Terminal 1 - To run the server.
cargo run

# Terminal 2 - To run the tests.
cargo run --example quick_dev

Notes

  • IMPORTANT - For the AUTH_TOKEN cookie, make sure to call cookie.set_path("/");. See commit - Fix AUTH_TOKEN cookie issue
  • The tests/quick_dev.rs file has been moved to examples/quick_dev.rs (with the same code) as it is more appropriate and seems to resolve a Windows limitation when running test and run simultaneously.
  • Use the --poll flag for cargo watch (latest 8.4.0) on my Fedora Linux environment for both the server and tests. Things were not updating without it. See #1
  • Make sure to use axum version 0.6.16 or later, as version 0.6.15 had a bug in static routing.
  • Here is a Per Chapter Fork by @FloWi. Big thanks!

This repository can be found on GitHub.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言