Skip to content

dependencies "contain code that will be rejected by a future version of Rust" #271

@MightyPork

Description

@MightyPork

I'm getting this warning when built using latest rustc:

warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0

multipart is abandoned and buf_redux is its abandoned dependency. The cleanest fix would be to switch to something else providing multipart encoding.

I made local forks of the affected crates and fixed it, also upgraded them to 2021 edition.
The fix was trivial, mostly just adding dyn and removing some semicolons in macros.

Here's the patches needed to do that:

buf_redux:

5514df91edd41543afa8b51c51fd3824b66e8b67.diff.txt

multipart:

f56611df6a528ab3141c1f9a047401f2140fb69a.diff.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions