Skip to main content

PRODUCER

Constant PRODUCER 

Source
pub(crate) const PRODUCER: &str = "Mosaic 0.0.1";
Expand description

Identifies Mosaic as the PDF’s producing application, written to the Info dictionary /Producer and /Creator so a built PDF traces back to the compiler that bred it (the way ffmpeg/Word/Adobe stamp theirs). A compile-time constant, so output stays byte-for-byte deterministic: no wall-clock, host, path, or user data leaks in. The version tracks the workspace CARGO_PKG_VERSION automatically.

Follow-up (intentionally deferred to keep this stamp deterministic):

  • /CreationDate + /ModDate driven by a SOURCE_DATE_EPOCH-style deterministic input (UTC, stable D:YYYYMMDDHHmmSS'+00'00' format).
  • An XMP metadata packet (catalog /Metadata) for PDF/A / Adobe tooling, kept in sync with this Info dict.