Rust Postgresql

Open-source Rust projects categorized as Postgresql

Top 23 Rust Postgresql Projects

  1. cube.js

    📊 Cube’s universal semantic layer platform is the next evolution of OLAP technology for AI, BI, spreadsheets, and embedded analytics

    Project mention: 10 of the Best Web Analytics Tools for React Websites | dev.to | 2025-03-20

    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.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. neon

    Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

    Project mention: Build your first AI Agent for Postgres on Azure | dev.to | 2025-04-08

    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.

  4. hyperswitch

    An open source payments switch written in Rust to make payments fast, reliable and affordable

    Project mention: Why I wont pay on your website? | news.ycombinator.com | 2024-10-22
  5. 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)

    Project mention: You Probably Don't Need Query Builders | news.ycombinator.com | 2025-01-25

    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/...

  6. diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: drizzle + sqlite in Tauri App | dev.to | 2025-03-20

    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.

  7. risingwave

    Stream processing and management platform.

    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.

  8. 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

  9. 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.

    CodeRabbit logo
  10. materialize

    Real-time Data Integration and Transformation: use SQL to transform, deliver, and act on fast-changing data. (by MaterializeInc)

    Project mention: Turning the Database Inside-Out | news.ycombinator.com | 2025-01-28

    https://materialize.com/ provides another approach, based on "timely dataflow" (https://timelydataflow.github.io/timely-dataflow/) - originated at MS.

  11. 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-27

    I 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.

  12. Replibyte

    Seed your development database with real data ⚡️

    Project mention: Replibyte: Database Backup/Anonimization Tool | news.ycombinator.com | 2024-05-29
  13. pgrx

    Build Postgres Extensions with Rust!

    Project mention: Ask HN: What is the best code base you ever worked on? | news.ycombinator.com | 2024-06-28
  14. rust-postgres

    Native PostgreSQL driver for the Rust programming language

  15. pgcat

    PostgreSQL pooler with sharding, load balancing and failover support.

    Project mention: A Major Postgres Upgrade with Zero Downtime | news.ycombinator.com | 2025-01-29

    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

  16. pg_graphql

    GraphQL support for PostgreSQL

    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.

  17. qsv

    Blazing-fast Data-Wrangling toolkit

    Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19
  18. martin

    Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.

    Project mention: Serving Vector Tiles, Fast | news.ycombinator.com | 2025-04-05

    Martin has a tile cache, which probably makes a difference: https://github.com/maplibre/martin/pull/1105

  19. 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
  20. trieve

    All-in-one infrastructure for search, recommendations, RAG, and analytics offered via API

    Project mention: Accurate Hallucination Detection With NER | dev.to | 2025-01-07

    You can find all the code involved in our NER system, including benchmarks, at github.com/devflowinc/trieve/tree/main/hallucination-detection.

  21. SQLPage

    Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.

    Project mention: SQLPage: Automatically build a UI on top of SQL queries | news.ycombinator.com | 2024-10-22
  22. reshape

    An easy-to-use, zero-downtime schema migration tool for Postgres

    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.

  23. sea-query

    🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite

    Project mention: Rust-Query | news.ycombinator.com | 2024-11-30

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

  24. cornucopia

    Generate type-checked Rust from your PostgreSQL.

    Project mention: One Year of Rust in Production | news.ycombinator.com | 2024-09-22
  25. lantern

    PostgreSQL vector database extension for building AI applications

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Postgresql discussion

Log in or Post with

Rust Postgresql related posts

  • Show HN: Tansu – Kafka Compatible Broker Transforms Proto/Avro/JSON into Parquet

    1 project | news.ycombinator.com | 10 Apr 2025
  • PgDog: Your New Best Friend for PostgreSQL Management

    1 project | dev.to | 7 Apr 2025
  • Serving Vector Tiles, Fast

    3 projects | news.ycombinator.com | 5 Apr 2025
  • CubeJS – A Universal OSS Semantic Layer (Maturity?)

    1 project | news.ycombinator.com | 13 Mar 2025
  • BM25 in PostgreSQL – 3x Faster Than Elasticsearch

    5 projects | news.ycombinator.com | 2 Mar 2025
  • How to build a secure project management platform with Next.js, Clerk, and Neon

    2 projects | dev.to | 28 Feb 2025
  • Building a RESTful API with ASP.NET Core, Swagger, and Neon

    2 projects | dev.to | 23 Jan 2025
  • A note from our sponsor - InfluxDB
    influxdata.com | 18 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more →

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

Sponsored
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com