Skip to content

Conversation

@ljedrz
Copy link

@ljedrz ljedrz commented Oct 8, 2021

This PR updates the quanta dependency to the current version; note that the use of Instant::as_unix_duration was removed, as the crate no longer supports it due to it having been buggy: metrics-rs/quanta#46.

@ljedrz
Copy link
Author

ljedrz commented Oct 8, 2021

Note: this crate needs to depend on a fork of quanta that provides a way to construct Instant values from a u64 in order for arithmetic operations to work properly. Some methods had to be removed, but duration_since was added in order to share more API with std::time::Instant.

@ljedrz ljedrz marked this pull request as ready for review October 8, 2021 11:38
@ljedrz
Copy link
Author

ljedrz commented Oct 11, 2021

I updated the PR as suggested by the owner of quanta.

Signed-off-by: ljedrz <ljedrz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants