Expand description
Internal ISO 8601 timestamp helpers (replaces the historical dtt dep).
Minimal ISO 8601 timestamp generation and validation.
Uses only std::time — no external date crates. Replaces the historical
dtt dependency (which transitively pulled the unmaintained paste
crate, RUSTSEC-2024-0436).
Functions§
- now_
iso8601 - Return the current UTC timestamp in RFC 3339 / ISO 8601 form with
nanosecond precision:
YYYY-MM-DDTHH:MM:SS.fffffffffZ. - parse_
iso8601 - Validate
sas an RFC 3339 / ISO 8601 timestamp.