Overview of Human Time capabilities
mainThe humantime crate provides high-performance parsing and formatting for human-readable durations and timestamps. It is designed for speed, particularly for fixed-format timestamp operations.
Key Features:
- Duration Parsing: Parses free-form duration strings like
15days 2min 2s. - Duration Formatting: Formats durations into human-readable strings like
2years 2min 12us. - RFC3339 Timestamps: Parses and formats timestamps in the
rfc3339format (e.g.,2018-01-01T12:53:00Z). - Flexible Timestamp Parsing: Supports parsing timestamps in a weaker format (e.g.,
2018-01-01 12:53:00).