Rust Postgres

Open-source Rust projects categorized as Postgres

Top 23 Rust Postgre Projects

  1. neon

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

    Project mention: Supabase Alternatives 🔄 in 2025 😼 | dev.to | 2025-03-17

    Neon is arguably the closest alternative to Supabase, offering serverless PostgreSQL with branching capabilities. Like Supabase, Neon is built on Postgres, but provides several distinct advantages:

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

  4. sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Toasty, an Async ORM for Rust | news.ycombinator.com | 2024-10-23
  5. 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.

  6. postgresml

    Postgres with GPUs for ML/AI apps.

    Project mention: Postgres Learns to RAG: Wikipedia Q&A using Llama 3.1 inside the database | news.ycombinator.com | 2024-09-24

    GitHub: https://github.com/postgresml/postgresml

    Looking forward to your feedback and any questions about the technical details.

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

  8. Replibyte

    Seed your development database with real data ⚡️

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

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

    SaaSHub logo
  10. 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
  11. postgres_lsp

    A Language Server for Postgres

    Project mention: Postgres LSP 0.1.0 | news.ycombinator.com | 2025-02-20
  12. 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.

  13. rbatis

    Rust Compile Time ORM with Async Dynamic SQL

  14. pgvecto.rs

    Scalable, Low-latency and Hybrid-enabled Vector Search in Postgres. Revolutionize Vector Search, not Database.

    Project mention: PGVector's Missing Features | dev.to | 2024-09-13

    Pgvector is very slow, seconds to 10's of seconds, on filter and order by queries. Its maintainers are working on this as you can see in this currently 83 comment long issue on Github and pgvector.rs has made improvements as you can see here, but it's messy. I strongly believe that you don't want to be fighting through these issues when adding semantic search to your product. It's going to be a long term, hard fought struggle to keep up with pgvector's updates here and continuously tune it.

  15. dozer

    Dozer is a real-time data movement tool that leverages CDC from various sources and moves data into various sinks. (by getdozer)

    Project mention: Pg_flo – Stream, transform, and route PostgreSQL data in real-time | news.ycombinator.com | 2024-11-03

    I'll evaluate this during my next CDC endeavor. Also on my list is Dozer: https://github.com/getdozer/dozer

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

  17. cornucopia

    Generate type-checked Rust from your PostgreSQL.

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

    PostgreSQL vector database extension for building AI applications

  19. squawk

    🐘 linter for PostgreSQL, focused on migrations

    Project mention: Squawk: A linter for PostgreSQL, focused on migrations | news.ycombinator.com | 2024-12-17
  20. pg_replicate

    Build Postgres replication apps in Rust

    Project mention: postgres.new: In-browser Postgres with an AI interface | dev.to | 2024-08-20

    With postgres.new we expect to have read-only deployments by the end of the week. This is important for one main reason: it's incredibly cheap to host a PGLite database in S3. While running a full Postgres database isn't that expensive, there are use-cases where developers would love most of the features of Postgres but without the cost of running a full database. PGLite, served via S3, will open the floodgates to many use-cases: a replicated database per user; read-only materialized databases for faster reads; search features hosted on the edge; maybe even a trimmed-down version of Supabase.

  21. wrappers

    Postgres Foreign Data Wrapper development framework in Rust.

    Project mention: PgPDF: Pdf Type and Functions for Postgres | news.ycombinator.com | 2024-11-06

    This is super cool.

    Last time I searched only https://fdw.dev came up (from Supabase).

  22. apalis

    Simple, extensible multithreaded background job and message processing library for Rust

  23. seaography

    🧭 GraphQL framework for SeaORM

  24. wasmer-postgres

    💽🕸 Postgres library to run WebAssembly binaries.

    Project mention: Pg_parquet: An Extension to Connect Postgres and Parquet | news.ycombinator.com | 2024-10-17

    I was expecting https://github.com/wasmerio/wasmer-postgres#usage--documenta... to catch on, and some how must have gotten it mixed up with Trusted Language Extensions <https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Postg...> (and https://github.com/aws/pg_tle/tree/v1.4.0#getting-started ) but unless someone decides to implement every single bit of a modern extension in JS or Perl, that's just some hello-world nonsense

  25. pgx_ulid

    Postgres extension for ulid

    Project mention: Making Beautiful API Keys | news.ycombinator.com | 2025-01-10

    This ulid Postgres extension doesn't have any performance issues compared to native uuidv7 in Postgres. https://github.com/pksunkara/pgx_ulid. Just wanted to bring it up since it looks like the author didn't come across it when looking for ulid generators in postgres.

    Disclaimer: I built it.

  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 Postgres discussion

Log in or Post with

Rust Postgres related posts

  • How to build a secure project management platform with Next.js, Clerk, and Neon

    2 projects | dev.to | 28 Feb 2025
  • How to Make Your Postgres Database 100x Faster and 50% Cheaper with Readyset Cloud🚀⚡💵

    1 project | dev.to | 27 Feb 2025
  • Postgres LSP 0.1.0

    1 project | news.ycombinator.com | 20 Feb 2025
  • A Language Server for Postgres

    4 projects | news.ycombinator.com | 19 Feb 2025
  • Building a RESTful API with ASP.NET Core, Swagger, and Neon

    2 projects | dev.to | 23 Jan 2025
  • Try Postgres Cloud

    8 projects | dev.to | 19 Jan 2025
  • Serverless semantic search - AWS Lambda, AWS Bedrock, Neon

    2 projects | dev.to | 21 Dec 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 25 Mar 2025
    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. Learn more →

Index

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

# Project Stars
1 neon 16,606
2 sqlx 14,383
3 sea-orm 7,964
4 risingwave 7,566
5 postgresml 6,200
6 readyset 4,896
7 Replibyte 4,230
8 pgrx 3,909
9 postgres_lsp 3,657
10 pg_graphql 3,070
11 rbatis 2,303
12 pgvecto.rs 1,964
13 dozer 1,539
14 sea-query 1,325
15 cornucopia 951
16 lantern 836
17 squawk 674
18 pg_replicate 648
19 wrappers 632
20 apalis 624
21 seaography 429
22 wasmer-postgres 415
23 pgx_ulid 395

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

Did you know that Rust is
the 5th most popular programming language
based on number of references?