adapter-postgres

Database over sqlx Postgres, for the native runtime. Refuses to compile to wasm.

With cargo

cargo add cratefield-adapter-postgres

What it is

adapter-postgres.

The Database port over sqlx Postgres 16 for the Cratefield harness native runtime (ADR 0004, issue #18). Native only — the crate fails compilation on any wasm target with a clear message, and the sqlx dependency is target-gated to non-wasm builds, so it can never slip into a Worker.

From the crate’s own README.

Ports

Implements Database

History

Changelog.

From the crate’s CHANGELOG.md in the harness, as of 0c5560b. 5 versions recorded, newest first. Every published version is on crates.io.

  1. 0.3.3

    crates.ioReleaseDiff

    Other

    • updated the following local packages: cratefield-core
  2. 0.3.2

    crates.ioReleaseDiff

    Other

    • updated the following local packages: cratefield-core
3 earlier versions 0.2.1 to 0.3.1
  1. 0.3.1

    crates.ioReleaseDiff

    Fixed

    • close eight concurrency races across the pool cache, auth caches, realtime rooms, waitlist confirms and tracker adapters (#823)
  2. 0.3.0

    crates.ioReleaseDiff

    Changed

    • Breaking: requires cratefield-core 0.8 (was 0.7), and so a minor rather than a patch bump: a venture still on core 0.7 does not pick this release up through a caret requirement and end up with two copies of core (#712).

    Other

    • updated the following local packages: cratefield-core
  3. 0.2.1

    crates.ioRelease

    Other

    • updated the following local packages: cratefield-core

One of 76 crates in the harness, all of them MIT and all of them in one repository.