Rust Postgresql

Open-source Rust projects categorized as Postgresql

Top 23 Rust Postgresql Projects

  1. 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
  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. neon

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

    Project mention: You don’t need 20 tools. Just use Postgres (seriously!) | dev.to | 2025-08-28

    Neon (serverless Postgres)

  4. cube.js

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

    Project mention: Getting AI to write good SQL: Text-to-SQL techniques explained | news.ycombinator.com | 2025-05-16

    the short answer: use a semantic layer.

    It's the cleanest way to give the right context and the best place to pull a human in the loop.

    A human can validate and create all important metrics (e.g. what does "monthly active users" really mean) then an LLM can use that metric definition whenever asked for MAU.

    With a semantic layer, you get the added benefit of writing queries in JSON instead of raw SQL. LLM's are much more consistent at writing a small JSON vs. hundreds of lines of SQL.

    We[0] use cube[1] for this. It's the best open source semantic layer, but there's a couple closed source options too.

    0 - https://www.definite.app/

    1 - https://cube.dev/

  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: SQLx – The Rust SQL Toolkit | news.ycombinator.com | 2025-07-25

    // https://github.com/launchbadge/sqlx/issues/367#issuecomment-...

  6. diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: SQLx – The Rust SQL Toolkit | news.ycombinator.com | 2025-07-25
  7. risingwave

    Real-time event streaming platform. Streaming CDC, stream processing, low-latency serving, and Iceberg management.

    Project mention: RisingWave: Simplify Your Stream Processing with this Game-Changing Platform | dev.to | 2025-08-17

    View the Project on GitHub

  8. paradedb

    ParadeDB is a modern Elasticsearch alternative built on Postgres. Built for real-time, update-heavy workloads.

    Project mention: PostgreSQL Maximalism | dev.to | 2025-05-28

    ParadeDB Search and Analytics. Search pg_search (ParadeDB's rust-based version) Previously named pg_bm25. This is huge and it takes a long long time to compile! Adds a ton of Lucene-like features, based on , a Rust-based Lucene alternative. Still doesn't provide a text-based query parser. Analytics pg_analytics This has been deprecated, due to refocus on pg_search, even for analytics. Part of ParadeDB.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. materialize

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

    Project mention: Materialized views are obviously useful | news.ycombinator.com | 2025-08-24

    Did I miss in the article where OP reveals the magic database that actually does this?

    3rd party solutions like https://readyset.io/ and https://materialize.com/ exist specifically because databases don’t actually have what we all want materialized views to be.

  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: Readyset is a MySQL and Postgres wire-compatible caching layer | news.ycombinator.com | 2025-08-25
  12. Replibyte

    Seed your development database with real data ⚡️

  13. pgrx

    Build Postgres Extensions with Rust!

    Project mention: # [derive(Clone)] Is Broken | news.ycombinator.com | 2025-07-08

    Yeah, they would often claim that C API is at fault, but believe it or not, blaming Rust just as much. I've had an interesting discussion with pgrx people: https://github.com/pgcentralfoundation/pgrx/issues/1897#issu... to quote @workingjubilee

    > Rust has formally rejected the notion that any function can return twice. Even LLVM has no special knowledge of the name of "sigsetjmp" or "setjmp", only that some functions can return twice.

    > Thus, when you call sigsetjmp or setjmp from Rust, Rust doesn't believe that you called a function that can return twice. The Rust compiler refuses to annotate it with the required LLVMIR annotation. Thus LLVM sees a call to sigsetjmp that it believes cannot return twice... it's just an ordinary function that someone named "sigsetjmp" because they have a sense of humor. What LLVM does next is between itself and whatever gods that compilers believe in, and we have no more voice in such a matter.

    In this particular case, it's hardly the fault of a "C wrapper."

  14. rainfrog

    🐸 a database tool for the terminal

    Project mention: Ask HN: What Are You Working On? (March 2025) | news.ycombinator.com | 2025-03-30

    i've been working on a database management tui called rainfrog (https://github.com/achristmascarl/rainfrog). it supports postgres, mysql, and sqlite, and we recently added several new features such as:

  15. rust-postgres

    Native PostgreSQL driver for the Rust programming language

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

  17. sql-studio

    SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, ClickHouse, DuckDB, Microsoft SQL Server]

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

  19. qsv

    Blazing-fast Data-Wrangling toolkit

    Project mention: fd: A simple, fast and user-friendly alternative to 'find' | news.ycombinator.com | 2025-03-19
  20. 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

  21. pgdog

    Horizontal scaling for PostgreSQL with automatic sharding.

    Project mention: PlanetScale for Postgres | news.ycombinator.com | 2025-07-01

    Some cool scaling stuff [0] [1] coming out for pg lately. Looking forward to seeing what PS builds here, I've been a big fan for awhile.

    [0]: https://supabase.com/blog/multigres-vitess-for-postgres

    [1]: https://pgdog.dev

  22. trieve

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

    Project mention: Why VPS Rocks for Quick Deployments: My Story + Build an LLM-over-DNS agent in Under 30 Mins! | dev.to | 2025-08-13

    hey folks! were there any changes to the message apis yesterday? streaming doesn't seem to be working as intended. maybe github.com/devflowinc/trieve/pull/1999/files?

  23. SQLPage

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

    Project mention: SQLx – The Rust SQL Toolkit | news.ycombinator.com | 2025-07-25

    I use a fork of sqlx in SQLPage [1]. I think my main complaint about it is runtime errors (or worse, values decoded as garbage) when decoding SQL values to the wrong rust type.

    * [1] https://sql-page.com/

  24. reshape

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

    Project mention: An easy-to-use, zero-downtime schema migration tool for Postgres | news.ycombinator.com | 2025-05-28
  25. pg_mooncake

    Real-time analytics on Postgres tables

    Project mention: Pg_mooncake: Columnstore Mirror of Postgres Tables | news.ycombinator.com | 2025-07-22
  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

  • Materialized views are obviously useful

    3 projects | news.ycombinator.com | 24 Aug 2025
  • The Equality Delete Problem in Apache Iceberg

    5 projects | dev.to | 20 Aug 2025
  • RisingWave: Simplify Your Stream Processing with this Game-Changing Platform

    1 project | dev.to | 17 Aug 2025
  • Database Setup for Smart Village Project: A Complete Windows Guide

    1 project | dev.to | 16 Aug 2025
  • Why VPS Rocks for Quick Deployments: My Story + Build an LLM-over-DNS agent in Under 30 Mins!

    1 project | dev.to | 13 Aug 2025
  • RisingWave v2.5: Key Enhancements to the Real-Time Event Streaming Platform

    1 project | dev.to | 8 Aug 2025
  • Writing a storage engine for Postgres: an in-memory Table Access Method

    1 project | news.ycombinator.com | 7 Aug 2025
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

Index

What are some of the best open-source Postgresql projects in Rust? This list will help you:

# Project Stars
1 hyperswitch 25,950
2 neon 19,573
3 cube.js 18,827
4 sqlx 15,567
5 diesel 13,592
6 risingwave 8,296
7 paradedb 7,691
8 materialize 6,092
9 readyset 5,074
10 Replibyte 4,293
11 pgrx 4,141
12 rainfrog 4,034
13 rust-postgres 3,770
14 pgcat 3,632
15 sql-studio 3,273
16 pg_graphql 3,177
17 qsv 3,079
18 martin 2,921
19 pgdog 2,586
20 trieve 2,463
21 SQLPage 2,282
22 reshape 1,785
23 pg_mooncake 1,635

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com