Anything like sqlc for Rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sqlc

    Generate type-safe code from SQL

    I've been using Go's sqlc for a while now at work, for working with Postgres. Got to admit it's been great, better than any ORM or query builder I've used so far in any other language.

  • sqlangel

    Funny enough, I tried to code a very simple sqlc alternative for Rust as an uni project in this semester: https://gitlab.com/teenjuna/sqlangel

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    I've used https://www.sea-ql.org/SeaORM/ successfully. They have a CLI tool that will generate rust code based on your db models

  • cornucopia

    Generate type-checked Rust from your PostgreSQL.

  • dsync

    Generate rust structs & query functions from diesel schema files

    You might want to checkout dsync which generates quite a lot of diesel code based on your database schema

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts