Anything like sqlc for Rust?

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarQube - Static code analysis for 29 languages.
  • 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:

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • sea-orm

    🐚 An async & dynamic ORM for Rust

    I've used 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

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

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