Skip to main content

Module csv

Module csv 

Source
Expand description

CSV renderer โ€” comma-separated values output.

CSV output includes a header row followed by one data row per record. Fields containing commas or double-quotes are quoted per RFC 4180. Hand-rolled โ€” the csv crate is not a dependency; our fields (URLs, emails, ISO timestamps, state strings) are simple enough that the csv_field helper covers all quoting cases with minimal code.

Auth column sets (per PRD):

  • auth_login / auth_status: server,user,expires_at,state
  • auth_logout: server,was_cached

Structsยง

CsvRenderer
Renders output as comma-separated values with a header row.