Skip to main content

Module renderer

Module renderer 

Source
Expand description

output renderers for displaying SBOM diffs.

this module provides formatters for different output contexts:

Structs§

CsvRenderer
RFC 4180 CSV renderer for spreadsheets, CI dashboards, and data pipelines.
JsonRenderer
JSON renderer for machine consumption.
MarkdownRenderer
GitHub-flavored markdown renderer for PR comments.
RenderOptions
options controlling how diffs are rendered.
SarifRenderer
SARIF 2.1.0 renderer for GitHub Code Scanning integration.
TextRenderer
plain text renderer for terminal output.

Traits§

Renderer
trait for rendering a Diff to an output stream.
SummaryRenderer
trait for rendering a summary (counts only, no component details) to an output stream.

Functions§

format_option
formats an Option<String> for display, returning "<none>" for None.
format_set
formats a BTreeSet<String> as a comma-separated string, or "<none>" if empty.