Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →
Top 23 Rust Postgresql Projects
-
cube.js
📊 Cube’s universal semantic layer platform is the next evolution of OLAP technology for AI, BI, spreadsheets, and embedded analytics
Cube is a headless business intelligence tool for building analytical web apps quickly and efficiently. Data modeling, access control, APIs, and caching are the four main features of Cube. It offers analytical API servers with query orchestration and multi-level caching capabilities.
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
neon
Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
We’ll use Neon Serverless Postgres as our database. It’s a fully managed, cloud-native Postgres that’s free to start, scales automatically, and works great for AI agents that need to query data on demand without managing infrastructure.
-
hyperswitch
An open source payments switch written in Rust to make payments fast, reliable and affordable
-
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)
Because type correctness does not imply branch correctness. SQL has side effects of interpretation, and any string/query builder that is not aware of grammatical implications should be avoided in my opinion.
Check the query builder of sqlx [1]
[1] https://github.com/launchbadge/sqlx/blob/main/sqlx-core/src/...
-
Tauri's backend is in Rust, so I always thought the only way to use sqlite ORM in a Tauri app is with projects like diesel or prisma-client-rust, which could be hard because they are in rust. What is even harder is sqlite db encryption. Both of the 2 ORMs don't support cipher encryption, thus I had to write raw sql queries in kunkun Example Maintaining raw sql queries is a nightmare to me, especially when it comes to schema migration. I have to rely on thorough testing to make sure everything is correct. There is no type checking.
-
Project mention: Simplifying SQL function implementation with Rust procedural macro | dev.to | 2025-03-13
Then, utilize declarative macros to generate various types of kernel functions, including functions with 1, 2, and 3 parameters, as well as the input/output combinations of T and Option. Common kernels like unary, binary, ternary, unary_nullable and unary_bytes are generated, partially addressing the last two issues. (For the implementation details, see RisingWave's earlier code.) Theoretically, type exercise could also be used here. For example, introducing a trait to unify (A,), (A, B) and (A, B, C), or utilizing traits of Into and AsRef to unify T, Option, and Result, etc. However, you will probably encounter some type challenges posed by rustc.
-
paradedb
ParadeDB is a modern Elasticsearch alternative built on Postgres. Built for real-time, update-heavy workloads.
Project mention: Meilisearch – search engine API bringing AI-powered hybrid search | news.ycombinator.com | 2025-04-14- https://github.com/paradedb/paradedb
I'm still looking for a systematic approach to make a hybrid search (combined full-text with vectors).
Any thoughts on up-to-date hybrid search experience are greatly appreciated
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
materialize
Real-time Data Integration and Transformation: use SQL to transform, deliver, and act on fast-changing data. (by MaterializeInc)
https://materialize.com/ provides another approach, based on "timely dataflow" (https://timelydataflow.github.io/timely-dataflow/) - originated at MS.
-
readyset
Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.
Project mention: How to Make Your Postgres Database 100x Faster and 50% Cheaper with Readyset Cloud🚀⚡💵 | dev.to | 2025-02-27I also faced similar issues and was looking for easy ways to improve performance in our application when I came across an awesome tool called Readyset. It sits between your application and database, intelligently caching complex queries while automatically handling invalidation. This setup can significantly boost performance without requiring major changes to your existing infrastructure.
-
-
Project mention: Ask HN: What is the best code base you ever worked on? | news.ycombinator.com | 2024-06-28
-
-
Zero-downtime Postgres upgrades have been kind of normalized, at least in the environments I have been exposed to, with pgcat
https://github.com/postgresml/pgcat
-
Project mention: Modern Web Development Sucks? How PostgreSQL Can Replace Your Tech Stack | dev.to | 2025-03-05
Want a GraphQL API without the hassle of setting up Apollo Server or Hasura? With the pg_graphql extension, PostgreSQL itself becomes your GraphQL backend—no extra servers, no complex configurations, just pure SQL.
-
Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19
-
martin
Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.
Martin has a tile cache, which probably makes a difference: https://github.com/maplibre/martin/pull/1105
-
sql-studio
SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, ClickHouse, Microsoft SQL Server]
Project mention: SQL-Studio: SQL Database Explorer [SQLite, LibSQL, PostgreSQL, MySQL/MariaDB, D | news.ycombinator.com | 2024-06-22 -
You can find all the code involved in our NER system, including benchmarks, at github.com/devflowinc/trieve/tree/main/hallucination-detection.
-
Project mention: SQLPage: Automatically build a UI on top of SQL queries | news.ycombinator.com | 2024-10-22
-
Project mention: Building a better and scalable system for data migrations | news.ycombinator.com | 2024-10-29
My project Reshape (https://github.com/fabianlindfors/reshape) might be interesting to you, it's a bit like blue/green DB deployments in that it uses a two-step process where it can support both the old and the new schema at the same time during the deployment phase.
-
That's my go-to! Maybe it was not super clear from my comment but I'm not using sea-query-orm but just the query builder, once the query is build you still have to feed it to sqlx (e.g [0]) :)
[0]: https://github.com/SeaQL/sea-query/blob/master/examples/sqlx...
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Postgresql discussion
Rust Postgresql related posts
-
Show HN: Tansu – Kafka Compatible Broker Transforms Proto/Avro/JSON into Parquet
-
PgDog: Your New Best Friend for PostgreSQL Management
-
Serving Vector Tiles, Fast
-
CubeJS – A Universal OSS Semantic Layer (Maturity?)
-
BM25 in PostgreSQL – 3x Faster Than Elasticsearch
-
How to build a secure project management platform with Next.js, Clerk, and Neon
-
Building a RESTful API with ASP.NET Core, Swagger, and Neon
-
A note from our sponsor - InfluxDB
influxdata.com | 18 Apr 2025
Index
What are some of the best open-source Postgresql projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | cube.js | 18,433 |
2 | neon | 16,761 |
3 | hyperswitch | 15,665 |
4 | sqlx | 14,519 |
5 | diesel | 13,281 |
6 | risingwave | 7,636 |
7 | paradedb | 6,968 |
8 | materialize | 5,951 |
9 | readyset | 4,942 |
10 | Replibyte | 4,241 |
11 | pgrx | 3,937 |
12 | rust-postgres | 3,659 |
13 | pgcat | 3,412 |
14 | pg_graphql | 3,085 |
15 | qsv | 2,730 |
16 | martin | 2,647 |
17 | sql-studio | 2,604 |
18 | trieve | 2,078 |
19 | SQLPage | 2,039 |
20 | reshape | 1,758 |
21 | sea-query | 1,353 |
22 | cornucopia | 961 |
23 | lantern | 844 |