Rust Postgresql

Open-source Rust projects categorized as Postgresql | Edit details
Related topics: #Rust #SQL #Postgres #Database #MySQL

Top 15 Rust Postgresql Projects

  • GitHub repo cube.js

    📊 Cube — Open-Source Analytics API for Building Data Apps

    Project mention: Build an analytics app with React and Cube.js | | 2021-12-22

    Visit the Cube.js official website to learn how to authenticate your analytics app so users have different levels of access to the analytics data and utilize the many cool analytics features that Cube.js offers.

  • GitHub repo diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: diesel-async: An async version of diesel | | 2022-01-16

    Any help finishing the next diesel release is welcome. The remaining main blocker is cleaning up the documentation. There is this WIP-PR. Feel free to add comments, input or other improvements there.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)

    Project mention: Show HN: My first blog post on Rust 1.58.0 format strings | | 2022-01-14

    Rather than argue about hypotheticals, can we argue about what people do in reality? In reality, sqlx [1], probably the most popular SQL library for Rust, has a query! format string that ensures that all parameters are properly escaped. When query! is updated for the new format string support, I'm certain that they will escape their parameters as well.

    Because all format strings are in macro context, where the macro has full control over what to do with all substituted parameters, Rust already has sanitized string interpolation. There is nothing you could add to Rust to make this safer.


  • GitHub repo rust-postgres

    Native PostgreSQL driver for the Rust programming language

    Project mention: GitHub - tzConnectBerlin/rust-pg_bigdecimal: A Rust native datatype for Postgres' Numeric type, to be used with Rust's "Postgres" library. | | 2022-01-14

    We created this little library to have a fully native type for Postgres Numerics with the rust-postgres ( library.

  • GitHub repo pgx

    Build Postgres Extensions with Rust! (by zombodb)

    Project mention: Introducing Tuple Tricks | | 2021-12-22

    This actually came out of a desire to automate de-serialising tuples of structs from select statements while playing around with SPI in pgx. But as another example, I've implemented a simple method for tuple addition:

  • GitHub repo martin

    Blazing fast and lightweight PostGIS vector tiles server

    Project mention: Indexing OSM Data on Postgres/PostGIS database | | 2021-07-05
  • GitHub repo reshape

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

    Project mention: Why I Enjoy PostgreSQL – Infrastructure Engineer's Perspective | | 2022-01-17

    Great article! For anybody interested in this topic, I've been working on a schema migration tool which automates zero-downtime migrations using many of the techniques mentioned: It also uses some other incredible Postgres features, like updatable views and schemas.

    It was discussed here on HN about a week back:

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo wasmer-postgres

    💽🕸 Postgres library to run WebAssembly binaries.

    Project mention: A truly open-source MongoDB alternative | | 2021-11-01

    > Please don't tell me that someone compiled Postgresql to WASM.

    I don't believe that nobody has ever done this... And google delivers:

  • GitHub repo KuiBaDB

    Another OLAP database

    Project mention: kbio - Another Async IO Framework based on io_uring | | 2021-09-21

    kbio, the Async IO Framework based on io_uring, is used in KuiBaDB to implement async io.

  • GitHub repo rustorm

    an orm for rust

    Project mention: Technologies I'm Learning in 2022 | | 2022-01-05

    rustorm - orm in rust

  • GitHub repo squawk

    🐘 linter for PostgreSQL, focused on migrations

    Project mention: PostgreSQL 14 Released | | 2021-09-30

    We've had good success with to lint migrations. It tells you if a query is going to lock your table (as long as it's written in SQL, not some ORM DSL)

  • GitHub repo sea-schema

    🌿 SQL schema definition and discovery

    Project mention: Introducing SeaORM - 🐚 An async & dynamic ORM for Rust | | 2021-09-26
  • GitHub repo tide-basic-crud

    Basic CRUD api using Rust / Tide / Sqlx / Postgresql

    Project mention: Basic CRUD with rust using tide - Refactor and complete CI/CD | | 2021-07-19

    Now we can start filling the todo!() and implement the actual logic, here is an example of the create operation but you can check the PR to see the full code.

  • GitHub repo pg_parse

    PostgreSQL parser for Rust that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.

    Project mention: Open Source SQL Parsers | | 2021-10-08


  • GitHub repo narcissus

    API using PostgREST to query and update supabase database. (by rodneylab)

    Project mention: Cloudflare Developer Challenge: Adding Rust to SvelteKit | | 2021-11-10

    Take a look at the current live demo site running on Cloudflare Pages. Also see the monorepo which is home to both the Cloudflare Worker code and the demo client sites.

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). The latest post mention was on 2022-01-17.

Rust Postgresql related posts


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

Project Stars
1 cube.js 12,162
2 diesel 7,858
3 sqlx 5,191
4 rust-postgres 2,393
5 pgx 1,313
6 martin 680
7 reshape 587
8 wasmer-postgres 276
9 KuiBaDB 272
10 rustorm 217
11 squawk 101
12 sea-schema 27
13 tide-basic-crud 26
14 pg_parse 16
15 narcissus 4
Find remote Postgresql jobs at our new job board There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.