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

temporal_rs

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

2 releases

0.0.2 Mar 5, 2024
0.0.1 Feb 25, 2024

#68 in Date and time

Download history 279/week @ 2024-02-23 353/week @ 2024-03-01 212/week @ 2024-03-08 181/week @ 2024-03-15 235/week @ 2024-03-22 291/week @ 2024-03-29 265/week @ 2024-04-05

983 downloads per month
Used in boa_engine

MIT/Apache

360KB
7.5K 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 the 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

~4MB
~83K SLoC