Skip to main content

Crate rustcmdpev_core

Crate rustcmdpev_core 

Source
Expand description

Core parsing, analysis, and rendering primitives for rustcmdpev.

Modules§

analysis
constants
display
Terminal-oriented rendering helpers and formatting utilities.
parser
render
structure
Structured PostgreSQL EXPLAIN models, raw ingestion, and tree validation.
summary
Aggregate metrics computed once over the analyzed plan and consumed by the renderer’s summary block.
testing
Shared test utilities for the workspace.

Enums§

VisualizeError

Functions§

analyze_explain
Apply analysis passes to a validated explain document.
parse_and_process
Parse raw input and run the full validation and analysis pipeline.
parse_and_process_with
Parse with explicit ParseOptions (e.g. a --postgres-version hint).
render_visualization
Produce pretty rendered output without performing stdout I/O.
render_visualization_full
Produce pretty rendered output using both parser and render options.
render_visualization_with
Produce pretty rendered output using fully customised render options.
visualize
Legacy convenience entry point that returns the analyzed explain.