Skip to content

mime 0.3.10 is backwards incompatible and published #93

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

Closed
richardwhiuk opened this issue Oct 15, 2018 · 2 comments
Closed

mime 0.3.10 is backwards incompatible and published #93

richardwhiuk opened this issue Oct 15, 2018 · 2 comments

Comments

@richardwhiuk
Copy link

richardwhiuk commented Oct 15, 2018

mime 0.3.10 was published < an hour ago (https://crates.io/crates/mime), and has merged 62c82fd which was not backwards compatible.

This seems to have been noted (62c82fd#diff-80398c5faae3c069e4e6aa2ed11b28c0R12) but the publish appears to have happened anyway.

This is causing builds of reqwest to fail - namely https://github.com/seanmonstar/reqwest/blob/v0.9.2/src/response.rs#L211-L218 with the following:

   Compiling mime v0.3.10
...
   Compiling reqwest v0.9.2
error[E0599]: no method named `as_str` found for type `mime::Value<'_>` in the current scope
   --> /opt/rust/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.2/src/response.rs:216:44
    |
216 |                     .map(|charset| charset.as_str())
    |                                            ^^^^^^

error: aborting due to previous error
@seanmonstar
Copy link
Member

Yep, a mistake in a rebase, just published 0.3.11 that is fixed up. 😢

@richardwhiuk
Copy link
Author

@seanmonstar Thanks!

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

No branches or pull requests

2 participants