#date-time #timezone #date #calendar #time #duration

temporal_rs

Temporal in Rust is an implementation of the TC39 Temporal Builtin Proposal in Rust

3 releases

0.0.3 Jul 8, 2024
0.0.2 Mar 5, 2024
0.0.1 Feb 25, 2024

#56 in Date and time


Used in boa_engine

MIT/Apache

350KB
7K SLoC

Temporal in Rust

⚠️ This crate is highly experimental and NOT stable. We cannot make any guarantee that the API will be stable until 0.1.0. Do not use in production without extreme caution ⚠️

Temporal is a calendar and timezone aware date/time library that is currently being designed and proposed as a new builtin to the ECMAScript specification.

This crate is an implementation of Temporal in Rust. While initially developed for Boa, the crate has been externalized as we intended to make an engine agnostic and general usage implementation of Temporal and its algorithms.

Temporal Proposal

Relevent links regarding Temporal can be found below.

Temporal Documentation | Temporal Specification | Temporal Repository

Contributing

This project is open source and welcomes anyone interested to participate. Please see CONTRIBUTING.md for more information.

Communication

Feel free to contact us on Discord.

License

This project is licensed under the Apache or MIT licenses, at your option.

Dependencies

~4.5MB
~85K SLoC