DBmaters
DBmaters is a Rust library that provides a C API for database migrations using the fantastic dbmate project.
Prerequisites
This library requires the Go library to be built first. Run:
Building
Usage
use dbmaters;
DBmaters is a Rust library that provides a C API for database migrations using the fantastic dbmate project.
This library requires the Go library to be built first. Run:
make build-go-static
cargo build
use dbmaters;
fn main() {
dbmaters::create_and_migrate("postgres://localhost/mydb");
}