entrait
Loosely coupled Rust application design made easy (by audunhalland)
realworld-axum-sqlx
A Rust implementation of the Realworld demo app spec using Axum and SQLx. (by launchbadge)
entrait | realworld-axum-sqlx | |
---|---|---|
3 | 12 | |
91 | 841 | |
- | 2.5% | |
5.7 | 0.0 | |
15 days ago | about 1 year ago | |
Rust | Rust | |
MIT License | GNU Affero General Public License v3.0 |
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.
entrait
Posts with mentions or reviews of entrait.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-27.
-
Entrait 0.4 — loosely coupled application design made easy
Entrait (docs) is a proc-macro for designing loosely coupled applications, enabling the same testing flexibility that users of more orthodox object-oriented languages are used to.
-
Fighting 'static bounds
You might want to look at https://docs.rs/entrait/latest/entrait/, a pattern created specifically for frameworks (like async-graphql) to be loosely linked with your business logic and global application state. There is already a small example for async-graphql. (I am the author of entrait)
-
Entrait v0.3.2
A new version of entrait has been released, this time with experimental support for zero-cost async Inversion of Control.
realworld-axum-sqlx
Posts with mentions or reviews of realworld-axum-sqlx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-13.
-
Hey Rustaceans! Got a question? Ask here (7/2023)!
This was one of the objectives when we created https://github.com/launchbadge/realworld-axum-sqlx
-
Hey Rustaceans! Got a question? Ask here! (28/2022)!
Clap can actually load values from the environment now: https://github.com/launchbadge/realworld-axum-sqlx/blob/main/src/config.rs
-
Entrait v0.3.2
I'm working on a PoC to rewrite the realworld app from launchbadge to use entrait: https://github.com/audunhalland/rust-realworld-ioc/ (work in progress), maybe it can be used as inspiration.
-
A(nother) Realworld implementation: tokio, axum, and sqlx
While there already exists a fantastic implementation of the spec written by the sqlx authors, I wanted to use this as a Rust playground for myself and others to poke around the ecosystem. I'm sure there's quite a bit of room for improvement, and I'm looking forward to opening this up for those in a similar boat and learning Rust.
-
Hey Rustaceans! Got a question? Ask here! (25/2022)!
I'm following some examples for creating a server with Axum like realworld-axum-sqlx and customize-extractor-error. The second one shows how to get request errors related to json and I'd like to know if there's anyway to make the where clause more error-proof.
-
Code review request
I've just migrated from actix-web to axum, so it's the backend that I'm interested in people's thoughs on. I've taken a fair amount of design inspiration from the realworld-axum-sqlx project.
-
The Rustacean way to build a complete web app?
Here is a realworld-spec in Axum: https://github.com/launchbadge/realworld-axum-sqlx
-
Backend using rust
https://github.com/launchbadge/realworld-axum-sqlx is Axum based implementation of the Realworld specification
-
Tools to generate type safe code models from Postgres schema?
Here's an example codebase using these features: https://github.com/launchbadge/realworld-axum-sqlx/blob/main/src/http/articles/listing.rs
-
Web development
Realworld Spec with Axum
What are some alternatives?
When comparing entrait and realworld-axum-sqlx you can also consider the following projects:
tempfile - Temporary file library for rust
zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.