rust-web

Installation
SKILL.md

Web Development

Domain Constraints

Domain Rule Design Constraint Rust Implication
Stateless HTTP No request-local globals State in extractors
Concurrency Handle many connections Async, Send + Sync
Latency SLA Fast response Efficient ownership
Security Input validation Type-safe extractors
Observability Request tracing tracing + tower layers

Critical Rules

  • Web handlers must not block — block one task = block many requests. Use spawn_blocking for CPU work.
  • Shared state must be thread-safe — handlers run on any thread. Use Arc<T>, Arc<RwLock<T>> for mutable.
  • Resources live only for request duration — use extractors for proper ownership.

Framework Comparison

Installs
3
GitHub Stars
3
First Seen
Feb 9, 2026
rust-web — peixotorms/odinlayer-skills