#timezone #date-time #calendar #date #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

#51 in Date and time

Download history 313/week @ 2024-03-31 249/week @ 2024-04-07 196/week @ 2024-04-14 181/week @ 2024-04-21 134/week @ 2024-04-28 211/week @ 2024-05-05 101/week @ 2024-05-12 112/week @ 2024-05-19 67/week @ 2024-05-26 22/week @ 2024-06-02 4/week @ 2024-06-09 6/week @ 2024-06-16 18/week @ 2024-06-23 1/week @ 2024-06-30 267/week @ 2024-07-07 108/week @ 2024-07-14

395 downloads per month
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
~91K SLoC