Skip to main content

pgevolve/
lib.rs

1//! pgevolve CLI internals — runtime executor, connection management, config
2//! loading, command dispatch.
3//!
4//! The binary at `src/main.rs` is a thin wrapper that dispatches CLI commands.
5
6#![warn(missing_docs)]
7#![deny(unsafe_code)]
8// pgevolve-core's ParseError / CatalogError flow through this crate's
9// Result types; see the matching allow in crates/pgevolve-core/src/lib.rs.
10#![allow(clippy::result_large_err)]
11
12pub mod api;
13pub mod cli;
14pub mod cluster_config;
15pub mod commands;
16pub mod config;
17pub mod connection;
18pub mod executor;
19pub mod pg_querier;
20pub mod shadow;
21pub mod target_identity;
22
23pub use api::{BuildPlanError, BuildPlanOptions, build_plan};
24pub use api::{ClusterPlan, ClusterPlanError, build_cluster_plan};
25pub use executor::{
26    ApplyError, ApplyOutcome, ApplyOverrides, apply, apply_plan, bootstrap_metadata,
27};
28pub use executor::{ClusterApplyError, apply_cluster_plan, apply_cluster_plan_dir};
29pub use target_identity::compute_target_identity;