Skip to content
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

v0.1.x lint fix, MSRV 1.28.0 updates #1451

Merged
merged 11 commits into from
Aug 15, 2019

Conversation

dekellum
Copy link
Contributor

Draft for a more conservative subset of #1348 proposal, per discussion with @LucioFranco.

Note as with 81a898f and 6c4e5b4, rust-lang/flate2-rs#207 that MSRV bumps in patch releases are an ongoing nuisance.

recent rust nightly started warning that not using `dyn` was
deprecated. This requires MSRV 1.27.0+.
Since tokio-macros specifies an edition=2018, we would otherwise
require MSRV 1.31.0 to build/test it. And tokio-macros isn't used with
tokio 0.1.x.
Since 0.1.5-6 is now a edition=2018 crate, which has effective MSRV
1.31.0.
tempfile 3.1.0 pulls in rand 0.7.0 and is MSRV 1.32.0
flate2 1.0.10-11 have MSRV 1.34.0.

github refs: rust-lang/flate2-rs#207
In particular because it pulls in old rand duplicates. Replace use
with tempfile::tempdir() which has been available since tempfile
3.0.0.

backport-of: tokio-rs#1312
In particular to fix the build for new stable 1.37.0 and otherwise
reduce warning verbosity.
@dekellum dekellum marked this pull request as ready for review August 15, 2019 20:06
@dekellum
Copy link
Contributor Author

dekellum commented Aug 15, 2019

How about reviewing and considering merging this before some other dependency changes, @LucioFranco ?

Copy link
Member

@LucioFranco LucioFranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with this 👍 thanks, just one question.

Cargo.toml Show resolved Hide resolved
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.

None yet

2 participants