Registry / web-framework / axum

axum

JSON →
library0.8.9rscratesunverified

HTTP routing and request handling library that focuses on ergonomics and modularity.

web-frameworkasync
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use axum::Router;

Create a simple HTTP server with Axum.

use axum::{Router, routing::get}; async fn hello() -> &'static str { "Hello, World!" } #[tokio::main] async fn main() { let app = Router::new().route("/", get(hello)); let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap(); axum::serve(listener, app).await.unwrap(); }
Debug
Known footguns
gotchaRequires Tokio runtime (not async-std compatible)
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
20 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
bytedance
2
mj12bot
1
Resources