Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
tokio
A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
routerify
A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs
There's SeaORM. (Which is built on top of SQLx if you prefer something more like SQLAlchemy's query builder layer without its ORM layer.)
popular libraries looking for new maintainers and getting eventually archived ( https://github.com/gorilla/mux )
Hi, maybe check out https://github.com/awslabs/aws-lambda-rust-runtime there's some examples in there.. But essentially you can build a Lambda function and deploy to your AWS account with this toolset.
I am the solo developer of two web applications which use backends (and frontends, I guess) written in Rust. I cannot recommend Rust highly enough for solo developers, even beginners in Rust. The first one uses Rocket, and it was my first real project where I really learned how to use Rust and get the most out of it in this domain. I'm still pretty happy with Rocket and enjoy developing on top of it, however I would not use it for a new project today.
The second one uses Actix and I'm still very happily developing on top of it today. Actix these days is my go-to for any web backend that needs to be written in Rust.
I started using axum earlier this year, it's a relatively young project, but builds on the shoulders of more established giants like tokio, hyper and tower, both enabling use of a wider ecosystem of utilities for your services (tower and tower-http provide already pretty common services/layers you might need).
I started using axum earlier this year, it's a relatively young project, but builds on the shoulders of more established giants like tokio, hyper and tower, both enabling use of a wider ecosystem of utilities for your services (tower and tower-http provide already pretty common services/layers you might need).
I've been building a relatively small project with axum and diesel, and I'm pretty happy with it.
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
Also since generators are mentioned I recently came across this rob pike moment, he implemented a reduce function that takes and returns all interface{} types and uses reflection to check if the call is valid at runtime - that's the most typical Go that can ever be written in 40 lines - all that to make the point that it's useless. Such a great spirit. https://github.com/robpike/filter
lettre is the mails crate I'm hoping to use soon.
Related posts
- /r/startrek/ migrates to lemmy
- [I made this] – staticPi – websocket forwarder
- Which framework is better for backend?
- Boilerplate for RUST backend REST or gRPC API
- Lemmy (a federated reddit alternative written in Rust) Release v0.15.1: Private instances, New User Registrations, Email Verification, and Temporary Bans. 🎉