Skip to main content

Module printer

Module printer 

Source
Expand description

Formatting a core::ScanResult as tree, flat, or JSON output. Formatting a crate::core::ScanResult as tree, flat, or JSON output.

Re-exports§

pub use options::OutputFormat;
pub use options::PrintOptions;

Modules§

flat
Flat (one-line-per-item) rendering.
json
JSON rendering. JSON rendering.
options
OutputFormat and PrintOptions. Output format and print option types.
summary
Summary-block rendering.
tree
Tree (file- or tag-grouped) rendering.
utils
Path formatting, terminal hyperlink, and tag-coloring helpers. Path formatting, terminal hyperlink, and tag-coloring helpers.

Structs§

Printer
Renders a ScanResult according to a fixed set of PrintOptions.