serde_postgres VS sqlx

Compare serde_postgres vs sqlx and see what are their differences.

serde_postgres

Easily Deserialize Postgres rows. (by dac-gmbh)

sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
serde_postgres sqlx
1 145
60 11,822
- 2.4%
0.0 9.2
about 3 years ago 6 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.

serde_postgres

Posts with mentions or reviews of serde_postgres. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-01.
  • Part of SQLx will become proprietary
    5 projects | /r/rust | 1 Feb 2021
    Agreed. ORM's seem to do the job 80-90% of the time and make it absolutely painful the remaining 10-20% of the time. Statically checked SQL is pretty much the sweet spot in terms of tradeoffs, but I wouldn't be opposed to something along the lines of serde_postgres but for serialization, so I could use my struct definitions as the single source of truth and simply slap a derive macro on the struct to generate the necessary migrations. I'm not sure whether such an endeavour would be even remotely feasible, though, and it would perhaps be something one would expect to find in Diesel rather than in SQLx.

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-12-09.

What are some alternatives?

When comparing serde_postgres and sqlx you can also consider the following projects:

refinery - Powerful SQL migration toolkit for Rust.

diesel - A safe, extensible ORM and Query Builder for Rust

refinery - The data scientist's open-source choice to scale, assess and maintain natural language data. Treat training data like a software artifact.

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

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

Squirrel - Fluent SQL generation for golang

Rocket - A web framework for Rust.