Tusker is a Rust project for PostgreSQL schema diffing, migration running, and type-safe queries.
The project contains the core building blocks behind the tusker CLI: a
schema diff engine, an embeddable migration runner, and a small query layer
with derive-based SQL bindings.
Install from crates.io:
cargo install tuskerDownload a prebuilt release binary from the GitHub Releases page:
Container images for tagged tusker releases are published to
ghcr.io/bikeshedder/tusker.
For example:
docker run --rm ghcr.io/bikeshedder/tusker:0.6.1 --helptusker: the main CLI crate for schema diffing, migration workflows, and query metadata toolingtusker-schema: PostgreSQL schema inspection and diff enginetusker-migration: embeddable PostgreSQL migration runner for SQL migration filestusker-query: lightweight query layer on top oftokio-postgrestusker-query-derive: proc-macro derives fortusker-querytusker-query-models: shared models for checked query metadata and type information
If you want the end-user CLI documentation, installation notes, and the
current feature/progress overview, start with
crates/tusker/.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.