Skip to main content

Crate dlin_core

Crate dlin_core 

Source

Modules§

error
graph
input
parser
render

Macros§

warn
Print a warning message to stderr unless quiet mode is enabled. Respects error format: emits JSON when --error-format json is set.

Structs§

Diagnostic
Structured error with optional Why and Hint fields.

Enums§

CollapseMode
Graph collapse strategy.
Direction
Layout direction for graph output.
GroupBy
Grouping strategy for graph output.
ListOutputFormat
Output format for the list command.

Functions§

format_diagnostic
Format a Diagnostic for stderr output, respecting the current error format.
format_error
Format an error for stderr output, respecting the current error format.
format_json_diagnostic_structured
Format a structured diagnostic as a JSON object for stderr.
is_error_format_json
Returns true if error output should be JSON.
is_quiet
Returns true if quiet mode is enabled.
set_error_format_json
Set the error output format: true for JSON, false for text (default).
set_quiet
Enable quiet mode (suppress warnings on stderr).