demo-rust-axum
ФоркИзбранное
0
0
Описание
Demo of Rust and axum web framework with Tokio, Tower, Hyper, Serde
Языки
- Rust91,7%
- Makefile7,8%
- HTML0,5%
Joel Parker Henderson
13 июл 2025, 15:01
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
Demo of Rust and axum web framework
Feedback
License
Thanks
Contact
What is this?
What will you learn?
What is required?
What is helpful?
What is axum?
How is axum special?
Why learn axum now?
Hello, World!
What is tower?
Service
Call
What is hyper?
Hyper is low-level
Hello, World!
What is tokio?
Demo tokio server
Demo tokio client
What is Serde?
Design
Demo of Serde
Hello, World!
Try the demo
Hello, World! with app function
Hello, World! with handler function
Hello, World! with an axum test server
Try the demo
Create a fallback router
Try the demo
Graceful shutdown
Add a shutdown signal
Try the demo
Epoch handler function
Try the demo
Uptime handler function
Try the demo
Count handler function
Try the demo
Create axum routes and axum handlers
Respond with a string of HTML
Try the demo
Extractors
Extract path parameters
Try the demo
Extract query parameters
Try the demo
Extract JSON parameters
Try the demo
More about axum
RESTful routes and resources
Create a book struct
Create the data store
Use the data store
Try the demo
Get all books
Try the demo
Post a new book
Try the demo
Get one book
Try the demo
Put one book
Try the demo
Delete one book
Try the demo
Patch one book
Try the demo
Get one book as a web form
Try the demo
Patch one book as a web form
Try the demo
Tracing subscriber
Try the demo
Bind & host & port & socket address
Try the demo
axum repository examples
Ideas for next steps
Conclusion
What's next
Feedback
Contact
README.md