Expand description
Domain library for the uplot CLI: DSV parsing, data format dispatch,
and command routing into unicode_plot constructors.
This crate bridges raw delimiter-separated input and the unicode-plot
rendering library. It handles CSV/TSV parsing via parse_dsv, data format
interpretation via dispatch(), and value counting via the Command::Count
path.
Structs§
- Counted
Values - Counted value labels and frequencies.
- Data
- Parsed delimiter-separated values data.
- Dispatch
Output - Dispatched command output that can be rendered to a writer.
- DsvOptions
- Options controlling DSV parsing behavior.
- Options
- Parsing and input options shared by command dispatch.
- Parameters
- Command-parameter surface used by the domain dispatch layer.
- SeriesXY
- Parsed x/y series pair.
Enums§
- Command
- Top-level command variants understood by the domain dispatch layer.
- Dispatch
Error - Dispatch-level errors for command execution.
- DsvError
- Errors returned by DSV parsing.
- Format
- Data format selector used by high-level command dispatch.
- Multi
Format - Data format for multi-series commands.
- Multi
Series Data - Parsed multi-series input payload.
- Processing
Error - Errors for data format dispatch and tally processing.
- Single
Format - Data format for single-series commands.
- Single
Series Data - Parsed single-series input payload.
Functions§
- dispatch
- Dispatch a parsed data payload into a renderable plot output.
- parse_
dsv - Parse DSV data from a string.
- parse_
dsv_ reader - Parse DSV data from any reader.