awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
time-rs avatar

time-rs/time

0
View on GitHub↗
1,313 stars·301 forks·Rust·Apache-2.0·26 viewstime-rs.github.io↗

Time

This project is a comprehensive library for handling dates, times, durations, and UTC offsets within the Rust programming language. It provides a framework for temporal data processing, utilizing specialized structures to maintain nanosecond precision for high-accuracy scheduling and logging requirements.

The library distinguishes itself through extensive use of compile-time evaluation, which allows for the generation and validation of temporal values during the build process to eliminate runtime overhead. It employs strongly-typed primitives and overflow-checked arithmetic to ensure that all mathematical operations and data manipulations remain safe and valid. Furthermore, the framework includes cross-platform utilities for resolving local system offsets and managing time zone data across diverse operating environments.

Beyond its core processing capabilities, the library supports a broad range of temporal operations, including parsing and formatting strings according to international standards like ISO 8601 and RFC 3339. It also provides extended date range support for historical or long-term planning and integrates with the broader ecosystem through standardized traits for serialization, testing, and random number generation.

Features

  • Time and Date Handling - Manages calendar dates, clock times, and durations in Rust applications with high precision and safety checks.
  • Date and Time Libraries - Provides a comprehensive library for handling dates, times, durations, and UTC offsets with nanosecond precision.
  • Numeric and Date Formatting - Converts temporal data types to and from strings using customizable patterns supporting international standards like ISO 8601.
  • High-Precision Temporal Types - Stores dates, clock times, and time spans using specialized types that maintain nanosecond precision.
  • Temporal Data Processing - Implements specialized structures for performing arithmetic, formatting, and parsing of temporal data according to international standards.
  • Compile-Time Expression Evaluation - Computes and validates temporal values during the build process to eliminate runtime overhead.
  • Strongly-Typed Data Mappings - Organizes time data into distinct, type-safe primitives that prevent invalid operations and ensure nanosecond precision.
  • Temporal Arithmetic - Executes arithmetic operations on dates and timestamps with safety checks to prevent overflow or invalid results.
  • Compile-Time Evaluators - Utilizes constant expressions to generate and validate temporal values during the build process, minimizing runtime overhead.
  • Temporal Component Extraction - Provides structures to inspect and update specific calendar components within complex date and time structures.
  • Temporal Serialization - Serializes temporal data into standard formats like Unix timestamps or custom strings to ensure consistency across systems.
  • Time Zone Management - Handles UTC offsets and local time zone data by updating values from system environment variables.
  • System Time Zone Identification - Queries host operating systems to determine accurate local UTC offsets for global applications.
  • System Offset Resolvers - Provides cross-platform utilities to resolve local system UTC offsets and manage time zone data dynamically.
  • UTC Offset Calculations - Queries the host system to dynamically determine local time zone adjustments and UTC offsets.
  • Procedural Macro Engines - Automates the creation of complex temporal constants and validation logic at compile time using procedural macros.
  • Integer Overflow Detections - Performs arithmetic operations on temporal data with built-in safety checks to prevent integer overflow errors.
  • Compile-Time Validators - Validates date and time values during compilation to catch errors early and ensure format compliance.
  • Extended Date Ranges - Supports calendar dates beyond the standard four-digit year limit for historical or long-term planning.

Star history

Star history chart for time-rs/timeStar history chart for time-rs/time

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Time

Hand-picked collections where Time appears.
  • Rust Date and Time Libraries

Projects sharing features with Time

These projects share indexed features with Time. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • tc39/proposal-temporaltc39 avatar

    tc39/proposal-temporal

    3,701View on GitHub↗

    This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking library and a multi-calendar date engine designed to replace the legacy Date object. The system is distinguished by its support for multiple calendar systems beyond the ISO standard and its use of IANA-based time zone resolution. It provides a framework for managing daylight saving transitions and UTC offsets while maintaining nanosecond precision for global timestamps. The API covers broad functional areas including complex date and time arithmetic, locale-aware formatting,

    HTML
    View on GitHub↗3,701
  • howardhinnant/dateHowardHinnant avatar

    HowardHinnant/date

    3,379View on GitHub↗

    This project is a comprehensive date and time library designed for parsing, formatting, and calculating dates and times with high precision. It provides a multi-calendar system implementation that supports conversions between proleptic Gregorian, Julian, ISO week, and Tabular Islamic calendars. The library is distinguished by its high-precision time clocks and its implementation of the IANA time zone database. It tracks physical time using UTC, TAI, and GPS clocks to account for leap seconds and provides a system for managing geographic time zones and offsets based on IANA data. The capabili

    C++calendardatedatetime
    View on GitHub↗3,379
  • chronotope/chronochronotope avatar

    chronotope/chrono

    3,870View on GitHub↗

    Chrono is a Rust date and time library used for managing calendar dates, clock times, and timezone conversions. It functions as a high-precision timestamp tool and temporal data serializer for converting date and time objects into structured formats. The library includes a timezone conversion engine to translate timestamps between different geographical zones and manage local time configurations. Its broader capabilities cover date string formatting, high-precision timing, and the serialization of temporal data for database storage or network transmission.

    Rustcalendardaterust
    View on GitHub↗3,870
  • crsmithdev/arrowcrsmithdev avatar

    crsmithdev/arrow

    9,044View on GitHub↗

    Arrow is a Python date and time library designed for parsing, formatting, and manipulating date and time objects. It provides a simplified interface for these operations compared to the Python standard library. The library includes tools for converting standardized date strings via an ISO 8601 parser and transforming timestamps into human-readable relative strings across different locales. It also features a utility for translating timestamps between global timezones using location data objects. Additional capabilities cover date string formatting, time object generation, and the calculation

    Python
    View on GitHub↗9,044
Compare all 30 related projects→

Frequently asked questions

What does time-rs/time do?

This project is a comprehensive library for handling dates, times, durations, and UTC offsets within the Rust programming language. It provides a framework for temporal data processing, utilizing specialized structures to maintain nanosecond precision for high-accuracy scheduling and logging requirements.

What are the main features of time-rs/time?

The main features of time-rs/time are: Time and Date Handling, Date and Time Libraries, Numeric and Date Formatting, High-Precision Temporal Types, Temporal Data Processing, Compile-Time Expression Evaluation, Strongly-Typed Data Mappings, Temporal Arithmetic.

Which projects share features with time-rs/time?

Projects with overlapping indexed features include: tc39/proposal-temporal — This project is a proposal for a new immutable date and time API in JavaScript. It serves as a precision time-tracking… howardhinnant/date — This project is a comprehensive date and time library designed for parsing, formatting, and calculating dates and… chronotope/chrono — Chrono is a Rust date and time library used for managing calendar dates, clock times, and timezone conversions. It… crsmithdev/arrow — Arrow is a Python date and time library designed for parsing, formatting, and manipulating date and time objects. It… malcommac/swiftdate — SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing,… briannesbitt/carbon — Carbon is a date and time manipulation library for PHP that extends the native DateTime class. It provides a set of…