1 unstable release
new 0.2.0 | May 6, 2025 |
---|
86 downloads per month
4MB
59 lines
Contains (static library, 4MB) build/libdbmaters.a
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:
make build-go-static
Building
cargo build
Usage
use dbmaters;
fn main() {
dbmaters::create_and_migrate("postgres://localhost/mydb");
}