-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pbr currently depends on version 0.1 of time which is was found to contain a security vulnerability (RUSTSEC-2020-0071 [1]). Updating to the current 0.3 branch would be a possiblity, however that doesn't gain us anything over just relying on std. SteadyTime no longer exists and was never actually steady in the first place [2]. For a while there was a fallback that turned SteadyTime into an alias for time::Instant [3] which in turn is a wrapper around std::time::Instant adding support for negative durations. pbr doesn't deal with negative durations so swap time::Duration for std::time::Duration and time::SteadyTime for std::time::Instant. [1] https://rustsec.org/advisories/RUSTSEC-2020-0071 [2] time-rs/time#95 [3] time-rs/time@76e3575
- Loading branch information
Showing
3 changed files
with
15 additions
and
27 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