Skip to main content

Crate pgevolve_core

Crate pgevolve_core 

Source
Expand description

pgevolve-core — the declarative-schema-management engine.

This crate is I/O-free: it accepts source SQL bytes and a CatalogQuerier implementation from callers, and returns IR, diffs, and plans as data. See the workspace docs/superpowers/specs/ for the design.

Re-exports§

pub use crate::parse::normalize_body::BodyError;
pub use crate::parse::normalize_body::NormalizedBody;

Modules§

catalog
Catalog reader: live Postgres pg_catalogcrate::ir::catalog::Catalog.
diff
Pure-function diff over the IR.
error
Top-level error types for pgevolve-core.
identifier
Identifier and qualified-name types.
ir
In-memory representation of a Postgres schema.
lint
Lint engine. Spec §12.
parse
Source-side parser: SQL bytes → IR.
plan
Dependency analyzer and three-phase planner core.
render
IR → SQL emitter.

Constants§

VERSION
Crate version, exposed for embedding in plan manifests.