sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)
axum-rest-starter-example
Quick demo of a REST frontend with a Redis session store. (by bsodmike)
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- Revelo Payroll - Free Global Payroll designed for tech teams
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SonarQube - Static code analysis for 29 languages.
sqlx | axum-rest-starter-example | |
---|---|---|
140 | 1 | |
9,968 | 27 | |
2.4% | - | |
0.0 | 6.8 | |
2 days ago | over 1 year ago | |
Rust | Rust | |
Apache License 2.0 | 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.
sqlx
Posts with mentions or reviews of sqlx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-04.
-
Introducing SQLPage : write websites entirely in SQL
I'm considering making my own wrapper over lower-level database drivers. There are a lot of features in sqlx that I don't need, and the latest version seems to have removed useful data structures that SQLPage is using. It also removed support for SQL Server.
sqlx to interface with multiple databases (I am considering moving to something else to support more databases, though)
-
SQLx 0.7 released! Offline mode usability improvements, performance fixes and major upgrades across the board!
The biggest thing to note in this release is the restructuring of the project and the removal of the MSSQL driver as it was not at the same maturity and usability level as the other drivers. As previously announced (https://github.com/launchbadge/sqlx/discussions/1616), we have plans to introduce a fully featured replacement as a premium offering, alongside drivers for other proprietary databases, with the goal to support full-time development on SQLx.
- Is ORM still an anti-pattern?
- PHP to Golang
-
New Rustacean Looking For Guidance
sqlx
-
Why ORMs are so hated?
Thanks for sharing your experiences. I've been looking to get into snowflake for some time (even opened this https://github.com/launchbadge/sqlx/issues/986) . We thought to move to it years ago, but there's no way it was going to replace a significant amount of the mariadb we're running, and unless it did I wasn't looking forward to managing 2 DBs.
- Prá galera curiosa sobre Rust, alguns "contras" a considerar.
-
What ORM do you use?
however, a much worse problem is its inability to do dynamic queries. If you have two queries that only differ in a column name, you're forced to copy paste the entire query. You can try and hack around it, but it's ugly either way. Here's a good overview, with no really good solutions.
axum-rest-starter-example
Posts with mentions or reviews of axum-rest-starter-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-22.
-
Tokio's Axum web framework - not new, but new to me
Axum is excellent, especially the channel on Discord. The author is a wonderful chap, very helpful to newbies like me. Here’s a REST starter for anyone looking with Redis as a backend. https://github.com/bsodmike/axum-rest-starter-example
What are some alternatives?
When comparing sqlx and axum-rest-starter-example you can also consider the following projects:
diesel - A safe, extensible ORM and Query Builder for Rust
sea-orm - 🐚 An async & dynamic ORM for Rust
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
rust-postgres - Native PostgreSQL driver for the Rust programming language
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
sled - the champagne of beta embedded databases
Rocket - A web framework for Rust.
rust-rest
Squirrel - Fluent SQL generation for golang
rayon - Rayon: A data parallelism library for Rust
pg-to-ts - Generate TypeScript interface definitions from your Postgres schema