Crate coral

Source
Expand description

This crate parses the output of cargo check --message-format json into transparent data structures.

The main entrypoint for running cargo and parsing output is the Analyzer struct.

Structs§

Analyzer
The main entrypoint for running cargo and parsing output
Code
A code output by cargo
Entry
A top-level entry output by cargo
Expansion
A macro expansion output by cargo
Message
A message output by cargo
Profile
A profile output by cargo
Span
A span output by cargo
Target
Target information output by cargo
Text
A piece of text output by cargo

Enums§

Checker
A way of checking a project
CrateType
A crate type output by cargo
Error
Error type used by coral
Level
A message severity level output by cargo
Reason
A reason output by cargo
TargetKind
The kind of a Target output by cargo

Functions§

terminal_width
Get the width of the terminal

Type Aliases§

Result
Result type used by coral