migratex 0.1.0

Agnostic migration toolkit library.
Documentation

Migratex

Crates.io Docs.rs License

Migratex is an agnostic migration toolkit library.

Migrate anything! Anywhere! 🚀

💪 It can be used to migrate database / data / files / binaries, etc from one version to another.

  • ✅ Easy to use
  • ✅ Agnostic
  • ✅ Standalone
  • ✅ Async
  • ✅ Easy to extend
  • ✅ Easy to use with any storage
  • ✅ Easy to use with any migration type

Simple and intuitive API: migrate_up, migrate_down, migrate_to, migrate_to_latest, migrate_to_zero, latest_version, metadata, etc.

Look at the examples.

Usage

Add this to your Cargo.toml:

[dependencies]
migratex = "*"

Put the latest version of migratex in your Cargo.toml!

Look at the examples.

Features

JSON

Enable the json feature to serialization in JSON format. Also, to use JsonStore implementation to store metadata in a JSON file.

Cargo.toml:

[dependencies]
migratex = { version = "*", features = ["json"] }

Put the latest version of migratex in your Cargo.toml!

Tests

Run all tests:

cargo test  --tests --features json

LICENSE

MIT (c) 2025, Nicolas Talle.

Author

Buy me a coffee ☕ via PayPal!