Migratex
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:
[]
= "*"
Put the latest version of
migratexin yourCargo.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:
[]
= { = "*", = ["json"] }
Put the latest version of
migratexin yourCargo.toml!
Tests
Run all tests:
LICENSE
MIT (c) 2025, Nicolas Talle.
Author
Buy me a coffee ☕ via PayPal!