Rust Migrations

Open-source Rust projects categorized as Migrations

Top 6 Rust Migration Projects

  1. reshape

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

  2. SaaSHub

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

    SaaSHub logo
  3. postgres_migrator

    A postgres migration generator and runner that uses raw declarative sql.

  4. pglockanalyze

    See what PostgreSQL locks your migrations acquired

    Project mention: Ask HN: What Are You Working On? (July 2025) | news.ycombinator.com | 2025-07-27

    A CLI tool to make reasoning about Postgres locks a bit easier.

    Given a database[1] and a set of DDL statements/migrations you want to check, pglockanalyze will open a transaction, execute the statements, read the pg_locks view to analyze the locks they acquire and rollback (or commit, depending on the flags you passed) the transaction. Then, it will output the results for each statement.

    I think there's merit in this idea, that said it's very much an experiment so there could be flaws and/or corner cases that this strategy won't work well for.

    It's meant to act as a complement, not a replacement, to things like static analysis and the official Postgres docs.

    https://github.com/agis/pglockanalyze

    [1] typically an ephemeral database spawned by your CI pipeline

  5. migrant_lib

    Embeddable migration management

  6. rust-starter-pack

    Rust Starter Pack - With Tokio Axum, Sqlx, Docker, DB Migrations, Codegen, and more! Project is inspired by Ardan Labs Ultimate Service.

  7. revector

    Declarative, versioned schema & config migrations for Qdrant — Alembic for vector collections.

    Project mention: Show HN: Revector – Alembic-style schema migrations for Qdrant | news.ycombinator.com | 2026-07-07
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 Migrations discussion

Log in or Post with

Rust Migrations related posts

Index

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

# Project Stars
1 reshape 1,847
2 postgres_migrator 120
3 pglockanalyze 28
4 migrant_lib 23
5 rust-starter-pack 15
6 revector 3

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com