SARK
Static Asynchronous Rust web frameKit
Overview
SARK is a lightweight, single-threaded asynchronous web framework for Rust, built on top of the monoio runtime. It uses Rust's type system to provide fully static routing with zero dynamic dispatch.
Features
- Zero dynamic dispatch - fully static routing using Rust's type system
- No
Box<dyn>or trait objects - maximized compiler optimizations - Single-threaded async architecture (no
Send/Syncconstraints) - Type-safe request routing and parameter extraction
- State management via generics
- Minimal API surface - easy to learn and use
- Async/await native with AFIT (Async Functions in Traits)
Example
use Method;
use ;
;
Development Status
SARK is currently in early development and is not yet recommended for production use.
License
MIT