Refinery

API—OSS—FREEyesDOCS4/5
RE5.8#17 of 73
—WeboutWindowsoutMacoutLinux—Android—iOS

Ranked in Reverse Engineering Tools ·Free plan

About

Refinery is ranked #17 of 73 in reverse engineering tools on Inferse. It runs on Linux, macOS, Self-hosted, Windows. There is a free plan.

Compared on reverse engineering tools

Rollback support
Yesgithub.com
Self-hosted option
Yesgithub.com
Migration format
mixedgithub.com

Facts

Purpose
Refinery is a SQL migration toolkit for Rust that runs migrations on a provided database connection.github.com · 4 Oct 2026
Run modes
Migrations can be embedded in Rust code or run through the refinery_cli command-line tool.github.com · 4 Oct 2026
Migration formats
Migrations can be SQL files or Rust modules with a migration function that returns a String.github.com · 4 Oct 2026
Supported drivers
The README lists postgres, tokio-postgres, mysql, mysql_async, rusqlite, and tiberius as supported drivers.github.com · 4 Oct 2026
SQLx
The README says SQLx can be used by providing a Config that implements Migrate.github.com · 4 Oct 2026
Migration tracking
Refinery records applied migration versions and metadata, then checks for divergent or missing migrations before executing unapplied ones.github.com · 4 Oct 2026
Transactions
By default, each migration runs in its own transaction; grouped mode can wrap all migrations in one transaction.github.com · 4 Oct 2026
Embedded migrations
The project can bake migrations into a binary so no additional files are needed when deployed.github.com · 4 Oct 2026
Rollback
To undo a migration, users must create a new migration and write the changes that reverse it.github.com · 4 Oct 2026
Version limit
Migration versions default to signed 32-bit integers; the int8-versions feature enables 64-bit versions and must be enabled before use on a database.github.com · 4 Oct 2026
Additional drivers
The maintainers say limited bandwidth favors maintaining additional database drivers in external repositories; the README names Klickhouse as an example.github.com · 4 Oct 2026
Rust support
The project aims to support stable Rust, the previous Rust version, and nightly.github.com · 4 Oct 2026
License
The project is licensed under the MIT License.github.com · 4 Oct 2026
Source availability
The project is published as a public GitHub repository.github.com · 4 Oct 2026

Best Refinery alternatives

See all 12