Actix
Actix Rust web framework with actors and high performance. Use for Rust APIs.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill actixAssembled 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.1 KB, 261 tokens by cl100k_base, as published. Nobody here has run it
Actix Web
Actix Web is one of the fastest web frameworks in the world (TechEmpower benchmarks). It uses the Actor Model (though less visible in v4) for concurrency.
When to Use
- Raw Speed: When req/sec is the primary metric.
- Microservices: Low footprint, high throughput services.
- WebSockets: Efficient handling of millions of connections (actix-web-actors).
Core Concepts
App Factory
App::new() is a factory called for each thread. State must be wrapped in web::Data.
Extractors
Similar to Axum, but uses web::Json, web::Path.
Actors (Actix)
The underlying system for async messages (optional in simple web apps but heavily used for WebSockets).
Best Practices (2025)
Do:
- Use
web::Data: For shared application state (DB pools). - Use
actix_web::main: The macro to run the async runtime.
Don't:
- Don't block the thread: Actix is single-threaded per worker. Blocking operations stop the world.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.