forked from chronotope/chrono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't require time crate for
clock
feature
Absorb just enough of the time crate that it is no longer required for the clock feature. v0.1 of the time crate is long deprecated, and v0.2 of the crate is a complete rewrite. Vendoring v0.1 allows chrono to control its own destiny. It also means that downstream users that have upgraded to the time v0.2 ecosystem do not wind up with both time v0.1 and v0.2 in the dependency tree. Even with this patch, the dependency on the old time crate remains by default for backwards compatibility. Specifically, the `chrono::Duration` type is a re-export of the `time::Duration` type when the `oldtime` feature is enabled, as it is by default. The intent is that the `oldtime` feature will be removed when chrono v0.5 is released. Supersedes chronotope#286. Fixes chronotope#400.
- Loading branch information
Showing
13 changed files
with
558 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.