Skip to content

Relation to chrono #289

Closed Answered by jhpratt
Diggsey asked this question in Question
Discussion options

You must be logged in to vote

Pulling some info from #190:

Chrono has been the de facto crate for time management for quite a while. Like time, its original implementation predates rust 1.0. Presumably due to its age, chrono still relies on time v0.1 (though it's partially inlined the relevant code). The disadvantage of this is that any third-party functions that rely on chrono essentially mandate you import chrono or time v0.1 to use its Duration type. This single fact makes interoperability with the standard library quite difficult. Time v0.1 is identical to chrono in this manner.

Time v0.1 is what the standard library was built upon. Time v0.2 flips this, being built upon the standard library. This provides for a …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Diggsey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #289 on October 30, 2020 22:14.