{"id":57173,"library":"axum","title":"Axum","description":"HTTP routing and request handling library that focuses on ergonomics and modularity.","status":"active","version":"0.8.9","language":"rust","source_language":null,"source_url":"https://github.com/tokio-rs/axum","tags":["http","web","async","routing","server"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\naxum = \"0.8.9\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add axum","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Router","correct":"use axum::Router;"}],"quickstart":{"code":"use axum::{Router, routing::get};\n\nasync fn hello() -> &'static str {\n    \"Hello, World!\"\n}\n\n#[tokio::main]\nasync fn main() {\n    let app = Router::new().route(\"/\", get(hello));\n    let listener = tokio::net::TcpListener::bind(\"0.0.0.0:3000\").await.unwrap();\n    axum::serve(listener, app).await.unwrap();\n}","lang":"rust","description":"Create a simple HTTP server with Axum."},"warnings":[{"fix":"Add tokio as a dependency with the \"full\" feature and use #[tokio::main]","message":"Requires Tokio runtime (not async-std compatible)","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'async':16 'axum':1 'ergonom':11 'focus':9 'handl':6 'http':2,14 'librari':7 'modular':13 'request':5 'rout':3,17 'server':18 'web':15","created_at":"2026-06-16T15:31:25.894223+00:00","updated_at":"2026-06-16T15:31:25.894223+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tokio-rs/axum","github":"https://github.com/tokio-rs/axum","docs":"https://docs.rs/axum/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}