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.tomlschema + loader. Sibling ofpgevolve.tomlfor per-DB projects. Configures connection (superuser DSN) and bootstrap roles (PG-owned roles that pgevolve never diffs in/out).- commands
- Command implementations.
- config
pgevolve.tomlschema 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 frompgevolve-core. Enabled via thetokio-postgres-querierfeature. - shadow
- Shadow Postgres backends.
- target_
identity - Target-identity hashing.