armature-core
Core framework for the Armature web framework.
Features
- High-Performance Routing - LRU route caching with a static-route fast path over a linear pattern matcher
- Zero-Copy HTTP - SIMD-accelerated parsing and
Bytesfor efficient body handling - Optimized Handlers - Monomorphized handler dispatch with inline optimization
- Connection Management - HTTP/1.1 pipelining, keep-alive, adaptive buffering
- Memory Efficiency - SmallVec headers, CompactString paths, and opt-in object-pooling/arena-allocation primitives available for advanced use
- Tower Compatible - Native integration with Tower middleware ecosystem
Installation
[]
= "0.1"
Quick Start
use ;
async
Performance
Benchmarked against other Rust frameworks:
| Metric | Armature | Axum | Actix-web |
|---|---|---|---|
| Plaintext RPS | 385k | 390k | 420k |
| JSON RPS | 305k | 310k | 340k |
| Latency P50 | 0.11ms | 0.10ms | 0.09ms |
License
MIT OR Apache-2.0