-
Notifications
You must be signed in to change notification settings - Fork 155
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
published indexmap 1.3.1 has broken Cargo.toml #116
Comments
I just used the MSRV (1.18) cargo when publishing 1.3.1, which doesn't rewrite
I think you're overstating the severity. The crates.io package is not broken when used as a normal dependency, and the missing workspace only matters when you try to use it as a primary source. I happen to be a Fedora packager too, and I just patched it out there: As a linux vendor, you should already be prepared to make such changes for any crate that was packaged before Still, I will make a new release... |
Indeed, after filing the bug I found it was easier to patch out than I'd anticipated. Though thanks for making a new release anyway, where possible, we desire to follow upstream with as few patches as possible :) |
@cuviper Is it important to package like this? Just curious why you've included this in your process. |
I feel wary of publishing with newer Cargo than MSRV, in case its |
Only problem I'm aware of is the new Cargo.lock layout getting shipped, which doesn't parse with older cargo, but you'll only have that if you ship examples or binaries. |
1.3.1 seems to not be shipped with a Cargo.toml generated by
cargo package
, which is what is expected from runningcargo publish
Here's the diff from 1.3.0 to 1.3.1:
diff 1.3.0/Cargo.toml 1.3.1/Cargo.toml
Additionally, unlike 1.3.0, which works fine with the cargo-generated Cargo.toml
1.3.0 cargo test success
1.3.1 is broken for all cargo commands:
1.3.1 breakage
This seems like a pretty serious regression, and is likely to be a substantial impediment to all linux vendors packaging rust.
The text was updated successfully, but these errors were encountered: