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 →
Top 23 Rust Postgre Projects
-
neon
Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
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:
-
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.
-
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/...
-
-
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.
-
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.
-
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.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Ask HN: What is the best code base you ever worked on? | news.ycombinator.com | 2024-06-28
-
-
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.
-
-
pgvecto.rs
Scalable, Low-latency and Hybrid-enabled Vector Search in Postgres. Revolutionize Vector Search, not Database.
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.
-
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-03I'll evaluate this during my next CDC endeavor. Also on my list is Dozer: https://github.com/getdozer/dozer
-
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...
-
-
-
Project mention: Squawk: A linter for PostgreSQL, focused on migrations | news.ycombinator.com | 2024-12-17
-
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.
-
This is super cool.
Last time I searched only https://fdw.dev came up (from Supabase).
-
-
-
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
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Postgres discussion
Rust Postgres related posts
-
How to build a secure project management platform with Next.js, Clerk, and Neon
-
How to Make Your Postgres Database 100x Faster and 50% Cheaper with Readyset Cloud🚀⚡💵
-
Postgres LSP 0.1.0
-
A Language Server for Postgres
-
Building a RESTful API with ASP.NET Core, Swagger, and Neon
-
Try Postgres Cloud
-
Serverless semantic search - AWS Lambda, AWS Bedrock, Neon
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 25 Mar 2025
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 |