frewsxcv / rust-crates-index

Rust library for retrieving and interacting with the crates.io index
https://docs.rs/crates-index/
Apache License 2.0
72 stars 37 forks source link

Semver violation in 0.18.12 — please re-export `git2` since it's part of public API #91

Closed obi1kenobi closed 1 year ago

obi1kenobi commented 1 year ago

Hi! I'm the author of cargo-semver-checks, a Rust linter that ensures crates adhere to semantic versioning.

The newly-released version 0.18.12 is semver-incompatible with prior 0.18.x releases due to breaking changes in the Error enum here, themselves caused by the dropped support for git2 version 0.14 and the added support for version 0.16 here. Unfortunately, cargo-semver-checks itself is affected by this break — you can see it here: https://github.com/obi1kenobi/cargo-semver-checks/issues/317

The issue is due to the interaction of several factors:

Here's what I'd recommend and would be happy to help with:

Thanks for all the work you're doing on this awesome crate! If there's any way I can help, please ping me at any time.

kornelski commented 1 year ago

Thanks. Fixed in c146ddc

obi1kenobi commented 1 year ago

Awesome, thank you!