tz-rs
A pure Rust reimplementation of libc functions localtime, gmtime and mktime. (by x-hgg-x)
rl_localtime
Rust-locked localtime - a sound localtime implementation (by Kixunil)
tz-rs | rl_localtime | |
---|---|---|
4 | 1 | |
167 | 2 | |
- | - | |
3.3 | 0.0 | |
about 1 month ago | about 2 years ago | |
Rust | C | |
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.
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
rl_localtime
Posts with mentions or reviews of rl_localtime.
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
What are some alternatives?
When comparing tz-rs and rl_localtime you can also consider the following projects:
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.