Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more datetime crates #151

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions data/crates.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,25 @@
},
{
"name": "Time & Date",
"notes": "Unfortunately there is no clear answer as to which is best between time and chrono.<br />Evaluate for yourself between these two, but be resassured that both are trusted and well-maintained.",
"notes": "jiff is the best option if you're starting a new project...<br />...but it currently lacks some of the ecosystem integration that time and chrono have.<br />Unfortunately there is no clear answer as to which is better between time and chrono.<br />Evaluate for yourself between the two, but be reassured that both are trusted and well-maintained.",
"recommendations": [{
"name": "jiff",
"link": "https://crates.io/crates/jiff",
"docs": "https://docs.rs/jiff",
"notes": "A relatively new general-purpose datetime library with automatic time zone database integration and convenient zone-aware calendar arithmetic."
}, {
"name": "time",
"notes": "A smaller, simpler library. Preferrable if covers your needs, but it's quite limited in what it provides."
"notes": "A powerful, popular datetime library with an easy-to-use API, helper macros, and smaller binary size."
}, {
"name": "chrono",
"notes": "The most comprehensive and full-featured datetime library, but more complex because of it."
"notes": "The more comprehensive datetime library, with support for extra crates (like <a href=\"https://lib.rs/tzfile\">tzfile</a> and <a href=\"https://lib.rs/chrono-tz\">chrono-tz</a>) providing additional features like timezone conversions."
}],
"see_also": [{
"name": "icu_datetime",
"notes": "A library focused on providing support for datetime internationalization using the <a href=\"https://icu.unicode.org/\">International Components for Unicode</a>. The <a href=\"https://lib.rs/icu\">icu</a> crate re-exports this along with other ICU-focused crates, so you might want that instead."
}, {
"name": "hifitime",
"notes": "An ultra-precise datetime library focused towards scientific applications."
}]
},
{
Expand Down