matklad / cargo-xtask-sqlx-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cargo-xtask-sqlx

Example of using sqlx-cli with cargo-xtask pattern.

Run as

$ cargo xtask sqlx database create

This will use project-local version of sqlx.

Not that this depends on sqlx-cli-as-a-library. This is likely an unsupported use-case, not covered by semver. Use at your own risk!

About


Languages

Language:Rust 100.0%