Skip to main content

Crate pgevolve

Crate pgevolve 

Source
Expand description

pgevolve CLI internals — runtime executor, connection management, config loading, command dispatch.

The binary at src/main.rs is a thin wrapper that dispatches CLI commands.

Re-exports§

pub use api::BuildPlanError;
pub use api::BuildPlanOptions;
pub use api::build_plan;
pub use api::ClusterPlan;
pub use api::ClusterPlanError;
pub use api::build_cluster_plan;
pub use executor::ApplyError;
pub use executor::ApplyOutcome;
pub use executor::ApplyOverrides;
pub use executor::apply;
pub use executor::apply_plan;
pub use executor::bootstrap_metadata;
pub use executor::ClusterApplyError;
pub use executor::apply_cluster_plan;
pub use executor::apply_cluster_plan_dir;
pub use target_identity::compute_target_identity;

Modules§

api
Library entry points for embedding pgevolve in other tools and tests.
cli
clap-derived CLI surface. Spec §10.
cluster_config
pgevolve-cluster.toml schema + loader. Sibling of pgevolve.toml for per-DB projects. Configures connection (superuser DSN) and bootstrap roles (PG-owned roles that pgevolve never diffs in/out).
commands
Command implementations.
config
pgevolve.toml schema and loader. Spec §11.
connection
Connection options + DSN resolution. Spec §10.2.
executor
Apply-time executor.
pg_querier
Re-export the shared tokio_postgres-backed catalog querier from pgevolve-core. Enabled via the tokio-postgres-querier feature.
shadow
Shadow Postgres backends.
target_identity
Target-identity hashing.