Skip to main content

Crate youplot

Crate youplot 

Source
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§

CountedValues
Counted value labels and frequencies.
Data
Parsed delimiter-separated values data.
DispatchOutput
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.
DispatchError
Dispatch-level errors for command execution.
DsvError
Errors returned by DSV parsing.
Format
Data format selector used by high-level command dispatch.
MultiFormat
Data format for multi-series commands.
MultiSeriesData
Parsed multi-series input payload.
ProcessingError
Errors for data format dispatch and tally processing.
SingleFormat
Data format for single-series commands.
SingleSeriesData
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.