tzdb
Static time zone information for tz-rs. (by Kijewski)
tz-rs
A pure Rust reimplementation of libc functions localtime, gmtime and mktime. (by x-hgg-x)
tzdb | tz-rs | |
---|---|---|
1 | 4 | |
42 | 167 | |
- | - | |
7.5 | 3.3 | |
4 months ago | about 2 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tzdb
Posts with mentions or reviews of tzdb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-02.
tz-rs
Posts with mentions or reviews of tz-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-30.
-
`chrono` or `time` 0.3 ?
As a result of the advisory these were implemented: https://github.com/x-hgg-x/tz-rs https://github.com/Kixunil/rl_localtime and the advisory also prompted a lot of discussion about solutions in this thread: https://internals.rust-lang.org/t/synchronized-ffi-access-to-posix-environment-variable-functions/15475
-
Rust 1.59.0
> Patching around them is a game of whack-a-mole. C++ cannot fix Posix. Rust cannot fix Posix.
Rust cannot “fix Posix”, but the stdlib (and others) can definitely work around its quirks. See how this[1] library sidesteps a thread-safety issue when using localtime_r(3).
https://github.com/x-hgg-x/tz-rs
- A pure Rust reimplementation of Libc functions localtime, gmtime and mktime
- Announcing tz-rs, a reimplementation of libc functions localtime, gmtime and mktime in pure Rust with no dependencies
What are some alternatives?
When comparing tzdb and tz-rs you can also consider the following projects:
iana-time-zone - Rust crate to get the IANA time zone for the current system
hse - HSE: Heterogeneous-memory storage engine
time - The most used Rust library for date and time handling.
chrono - Date and time library for Rust
temps-lite - A smart, good-looking little app which tries to speak your language the way you are used to.
rl_localtime - Rust-locked localtime - a sound localtime implementation