A lightweight, typed web framework for Rust built on hyper, focusing on ergonomic usage and rapid development.
Sapper is a lightweight web framework implemented in Rust, built on the hyper HTTP library. It provides a structured, type-safe environment for developing web applications, with a focus on ergonomic usage and rapid development while maintaining compatibility with stable Rust.
Rust developers building web servers or APIs who value type safety, middleware flexibility, and a lightweight framework that integrates seamlessly with hyper.
Developers choose Sapper for its typed system, hierarchical middleware control, and ergonomic design, offering a balance of performance and developer experience without sacrificing Rust's safety guarantees.
A lightweight web framework built on hyper, implemented in Rust language.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Nearly every component, including modules and middleware, is typed, ensuring consistency with hyper's design and reducing runtime errors.
Offers three-level granularity (global, module, function handler) for flexible and organized business logic construction, as highlighted in the philosophy.
Benchmarks show high request rates (over 234k req/sec) with low latency, thanks to its minimal core built on hyper.
Uses convenient macros to simplify writing business logic, enhancing developer productivity for rapid development.
Core framework lacks practical features like multipart support (listed in TODO), requiring reliance on external middlewares for basic functionality.
Based on hyper 0.10.13, which is an older version, potentially causing compatibility issues with newer libraries or missing modern HTTP features.
Essential features such as query parsing or sessions are in separate middleware crates, increasing setup complexity and dependency management.