sqlx VS sled

Compare sqlx vs sled and see what are their differences.

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)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • SonarQube - Static code analysis for 29 languages.
  • Onboard AI - Learn any GitHub repo in 59 seconds
sqlx sled
140 35
9,968 7,293
2.4% -
0.0 0.0
2 days ago 7 days ago
Rust Rust
Apache License 2.0 Apache License 2.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.

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
    8 projects | /r/rust | 4 Jul 2023
    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.
    8 projects | /r/rust | 4 Jul 2023
    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!
    6 projects | /r/rust | 3 Jul 2023
    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.
    6 projects | /r/rust | 3 Jul 2023
  • Is ORM still an anti-pattern?
    15 projects | news.ycombinator.com | 27 Jun 2023
  • PHP to Golang
    9 projects | /r/golang | 3 Jun 2023
  • New Rustacean Looking For Guidance
    6 projects | /r/rust | 11 May 2023
    sqlx
  • Why ORMs are so hated?
    4 projects | /r/golang | 11 May 2023
    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.
    4 projects | /r/brdev | 10 May 2023
  • What ORM do you use?
    6 projects | /r/rust | 9 May 2023
    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.

sled

Posts with mentions or reviews of sled. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.

What are some alternatives?

When comparing sqlx and sled 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

RocksDB - A library that provides an embeddable, persistent key-value store for fast storage.

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

rust-rocksdb - rust wrapper for rocksdb

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.

axum-rest-starter-example - Quick demo of a REST frontend with a Redis session store.

Rocket - A web framework for Rust.

rust-rest

redis-rs - Redis library for rust