dbmaters 0.2.0

A Rust library for database migrations using dbmate
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 3 items with examples
  • Size
  • Source code size: 3.85 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.31 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • auser/dbmaters
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • auser

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");
}