Skip to content

update dependencies, drop time dependency, fix compiler and clippy warnings #53

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

decathorpe
Copy link

I'm one of the maintainers of the package for this crate in Fedora Linux. We carry some downstream patches that I thought would make sense to submit here.

While I was at it, I ported things from time::Instant and time::Duration to std::time::{Instant, Duration} as recommended by the deprecation notices in time v0.3, and fixed compiler warnings and clippy warnings / errors.

Note that since time was part of the public API, dropping it is a breaking change, so if you want to publish this, it should probably be as version 2.0.0. I tried running cargo-semver-checks to verify this, but it cannot even parse v1.0.0 of this crate because of the clippy plugin usage 😬

Note that I also found some potential soundness bugs when running cargo miri test, should I report those separately?

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.

1 participant