dropshot
routerify
dropshot | routerify | |
---|---|---|
11 | 7 | |
753 | 385 | |
1.9% | 0.0% | |
9.4 | 0.0 | |
2 days ago | 2 months ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
dropshot
- Dropshot – expose REST APIs from a Rust program
- Expose REST APIs from a Rust Program
-
Tips on Creating a Design-First API Using Rust
Try dropshot by the Oxide Computer team. It generates an open api spec from your rust code directly.
-
Warp or Rocket.rs or Actix Web?
What about dropshot. Not much features but very simple and auto generates swagger https://github.com/oxidecomputer/dropshot
-
What made you choose the rust web framework you're currently using?
I have used dropshot mostly because of its simplicity.
- Seed – A Rust front-end framework for creating fast and reliable web apps
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
i haven't tried it yet, but https://github.com/oxidecomputer/dropshot apparently offers automated OpenAPI generation: https://docs.rs/dropshot/0.5.1/dropshot/struct.ApiDescription.html
-
Rust for backend development?
At Oxide we are doing backend development in Rust, with our own framework: https://github.com/oxidecomputer/dropshot/#dropshot
- Dropshot a general-purpose Rust crate for exposing REST APIs
-
A web framework I desperately wish there was a Rust equivalent for: FastAPI
Dropshot from Oxide Computer includes openapi generation from code.
routerify
-
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?
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
juniper - GraphQL server library for Rust
rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
warp - A super-easy, composable, web server framework for warp speeds.
tonic - A native gRPC client & server implementation with async/await support.
hyper-router - Simple routing middleware for rust HTTP library hyper.
prae - prae is a crate that aims to provide a better way to define types that require validation.
routerify-lite - A simplified but faster version of Routerify
rust-rdom - 🍂 A Rust-based simulated DOM (browser-independent replacement for web_sys)
Rocket - A web framework for Rust.