armature-core
Core framework for the Armature web framework.
Features
- High-Performance Routing - O(log n) routing with
matchit, LRU caching, and static route fast path - Zero-Copy HTTP - SIMD-accelerated parsing, arena allocation, 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, object pooling
- 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