73 releases
Uses new Rust 2024
new 0.1.80 | Mar 22, 2025 |
---|---|
0.1.77 | Feb 26, 2025 |
0.1.66 | Dec 31, 2024 |
0.1.58 | Nov 29, 2024 |
0.1.23 | Mar 30, 2024 |
#415 in Profiling
797 downloads per month
Used in 3 crates
54KB
1K
SLoC


Re-imagining backend development in Rust
What is Pavex?
Pavex is a new framework to build APIs with Rust.
Pavex aims to have it all: great ergonomics and high performance.
The same productivity boost of Ruby on Rails, Spring or ASP.NET Core.
As fast as a handwritten solution that strips away all abstractions.
Check out Pavex's documentation for a thorough introduction to the framework and its design philosophy.
Project status
Pavex is currently in closed beta—you can sign up here to get early access.
We regularly publish project updates.
Last update: This month in Pavex #10 [April 2024]
Previous updates:
- This month in Pavex #9 [February 2024]
- Rust web frameworks have subpar error reporting [February 2024]
- This month in Pavex #8 [January 2024]
- Closed beta announcement [November 2023]
- Progress report #6 [August 2023]
- Progress report #5 [June 2023]
- Progress report #4 [May 2023]
- Progress report #3 [April 2023]
- Progress report #2 [March 2023]
- Progress report #1 [January 2023]
- Vision [December 2022]
Architectural Overview
If the section above was enough to get you intrigued, you can check out the architectural deep-dive
in ARCHITECTURE.md
to learn how Pavex works under the hood.
Contributing
Typo in documentation? Open a PR straight-away!
Small bug fix with a regression test? Open a PR straight-away!
Anything beyond 20 lines of code? Open an issue first.
If you are looking to contribute, you can find dedicated instructions in CONTRIBUTING.md
.
License
Licensed under the Apache License, Version 2.0. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
lib.rs
:
This crate provides a custom graphical Miette handler for the Pavex project.
The handler is largely based on the miette::handlers::GraphicalHandler
, with
one key difference: we only report the code snippets from the related errors associated
with a report.
We have also done other minor tweaks to the graphical layout to better suit our needs.
This allows us to display snippets that come from different source files, a feature
that doesn't have first-class support in miette
.
In other words, you can see this custom handler as a "hack" to avoid having to
maintain a full fork of miette
.
Dependencies
~7–16MB
~240K SLoC