tokio-rs/axum
HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#1 Repository Của Tháng
🚀 Rust Web Routing, Built on Tower
axum is a macro-free HTTP routing library that leverages tower and hyper for fast, ergonomic web services.
axum is an HTTP routing and request-handling library for Rust developed by the tokio-rs team. It focuses on ergonomics and modularity, offering a clean API for defining routes and handling requests. Built on top of hyper and tower, axum integrates seamlessly with the broader async Rust ecosystem, enabling developers to build performant web applications with minimal overhead.
✨ Highlights
- Macro-free routing: Define routes using a simple, builder-style API without macros.
- Extractor-based parsing: Declaratively parse requests using extractors for headers, JSON, forms, and more.
- Predictable error handling: Convert handler results into HTTP responses with a unified error model.
- Tower integration: Use middleware, services, and utilities from the tower and tower-http ecosystems.
- Shared middleware: Reuse middleware across hyper, tonic, and other tower-based applications.
- Safe Rust: Enforced with
#![forbid(unsafe_code)], ensuring memory safety without compromise. - MSRV 1.80: Maintains compatibility with recent stable Rust versions.
💡 Why it matters
axum stands out by not reinventing the wheel — it builds on the mature hyper and tower ecosystems, granting access to a rich set of middleware and utilities out of the box. This design avoids fragmentation and allows developers to share components across frameworks.
Its extractor system simplifies request handling by cleanly separating parsing from business logic, while the macro-free API keeps the learning curve low. With performance comparable to hyper, axum is a compelling choice for high-throughput Rust web services.
#Rust #WebDevelopment #Async #HTTP #Tower #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
PhotoCraft: An open-source photo editor written from scratch in pure Rust
The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs