axa-postgres-sqlx 0.2.1

PostgreSQL pooling, migrations, and test resets over sqlx for Axum services.
Documentation
  • Coverage
  • 100%
    53 out of 53 items documented6 out of 29 items with examples
  • Size
  • Source code size: 96.0 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 677.2 kB 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: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • publicprojects-io/axa
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • joelparkerhenderson

axa-postgres-sqlx

PostgreSQL pooling, migrations, and test resets over sqlx for Axum services, from the axa family.

SQL that cannot run in a transaction, such as CREATE INDEX CONCURRENTLY, runs as a Background migration through run_background, one process at a time under an advisory lock, and each is recorded in axa_background_migrations.

Enable it through the postgres-sqlx feature of axa, or depend on this crate alone. See the crate documentation for usage.

License

See LICENSE.md.