prae
prae is a crate that aims to provide a better way to define types that require validation. (by teenjuna)
routerify
A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs (by routerify)
Our great sponsors
prae | routerify | |
---|---|---|
6 | 7 | |
129 | 381 | |
- | 2.1% | |
0.0 | 0.0 | |
about 1 year ago | 2 months ago | |
Rust | Rust | |
The Unlicense | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prae
Posts with mentions or reviews of prae.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-27.
-
Rust for Web Development | An Honest Evaluation
Regarding your macro system for "new nominal types" - are you talking about something in the vein of nutype or prae?
-
Nutype: the newtype with guarantees
Hey! I can't help but notice that this crate is way to similar to my crate prae. Did you see it? You even provide a similar example in the readme...
-
Patterns with Rust types
Since we’re talking about this topic, I want to shamelessly link my crate here: prae
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
Something like this should work pretty well, since it integrates with serde: https://github.com/teenjuna/prae
-
Help fight this conflicting implementation
Seems like .into_inner() would be a better choice. If you interested in the code, take a look! Linking related PR https://github.com/teenjuna/prae/pull/15
-
prae: a simple library that helps you keep your types valid
Meet prae. It provides a simple proc macro that allows you to do small things like this:
routerify
Posts with mentions or reviews of routerify.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-20.
-
State of Rust for web backends
You can checkout an example AWS Lambda entrypoint for an HTTP library Routerify (very similar to Axum) here: https://github.com/routerify/routerify/blob/master/examples/aws_lambda.rs
-
What is the way to use a router with Hyper/Tokio?
https://github.com/routerify/routerify is an easy to use router built on Hyper.
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
Looks interesting. How does this compare to routerify?
-
New Rust Programmer: Question about Web Serving
I'd also recommend routerify. It is a small layer on top of hyper but it makes writing HTTP servers quite enjoyable. My colleague dhruvasagar is creating a series of screencasts for building a URL shortener with Rust. Do check his series.
-
Announce routerify-lite
Routerify-lite is a simplified but faster version of Routerify.
-
Does rust have an http router that can be used inside an aws lambda function?
I haven't deployed Rust on lambda yet. However, I was meaning to experiment with routerify in the coming weeks. It has an example for AWS lambda as well. Let me know how it works out.
- Announcing Routerify v2: a lightweight http router built on hyper
What are some alternatives?
When comparing prae and routerify you can also consider the following projects:
dropshot - expose REST APIs from a Rust program
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
silicon - Create beautiful image of your source code.
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
syn - Parser for Rust source code
warp - A super-easy, composable, web server framework for warp speeds.
hyper-router - Simple routing middleware for rust HTTP library hyper.
routerify-lite - A simplified but faster version of Routerify
nutype - Rust newtype with guarantees 🇺🇦 🦀
Rocket - A web framework for Rust.