agentsclimarketplace

Axum

Skill G1Joshi/Agent-Skills/skills/frameworks/axum

Axum ergonomic Rust web framework with tower. Use for Rust APIs.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill axum

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, 279 tokens by cl100k_base, as published. Nobody here has run it

Axum

Axum is the most popular web framework in the Rust ecosystem (tokio). v0.7 (2024/2025) is built on Hyper 1.0 and standardizes the service trait.

When to Use

  • High Performance: When you need millisecond latency (e.g., ad tech, gaming).
  • Rust Backend: The default choice for new Rust web projects.
  • Type Safety: Extractor pattern guarantees types at compile time.

Core Concepts

Extractors

Declarative data parsing: async fn handler(Json(body): Json<CreateUser>).

Middleware (Tower)

Axum uses tower middleware, meaning you can use any middleware from the ecosystem (timeout, tracing, rate-limit).

Handlers

Async functions that implementation IntoResponse.

Best Practices (2025)

Do:

  • Use axum::serve: v0.7 replacement for Server::bind.
  • Use sqlx: The standard async SQL query builder for Axum.
  • Use tracing: For structured logging.

Don't:

  • Don't unwrap: Handle errors with Result<impl IntoResponse, AppError>.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.