cargo-semver-checks icon indicating copy to clipboard operation
cargo-semver-checks copied to clipboard

Scan your Rust crate for semver violations.

Results 175 cargo-semver-checks issues
Sort by recently updated
recently updated
newest added

### Steps to reproduce the bug with the above code With a custom Git config that rewrites https to ssh `cargo semver-checks check-release` fails . `~/.config/git/config`: ``` [url "[email protected]:"] insteadOf...

C-enhancement

> This fixed it: `$ unset CARGO_TARGET_DIR`. _Originally posted by @MarcoIeni in https://github.com/obi1kenobi/cargo-semver-checks/issues/309#issuecomment-1399262969_ Right now, we ask users to provide build configuration information as part of reporting a bug, since...

Per https://github.com/obi1kenobi/cargo-semver-checks/discussions/296, it's confusing that changing an enum to a struct (or another type) causes a lint that states the enum was removed. While technically correct (the enum doesn't exist),...

A-lint
C-enhancement
E-help-wanted
E-mentor

### Describe your use case I ran `cargo semver-checks` on my project (#296) and had a hard time looking through the results - Issues related to an API item were...

C-enhancement

### Steps to reproduce the bug with the above code ``` git clone [email protected]:bevyengine/bevy.git cd bevy/crates/bevy_render git checkout 1efdbb7e # for consistent output cargo run --manifest-path=../../../cargo-semver-check/Cargo.toml -- semver-checks check-release ```...

C-bug

When the `pub trait` method's default implementation is removed, the method is no more provided and turns into a declared method. This forces the new version to implement the now-declared...

A-lint

Imagine a crate with the following code: ```rust pub enum Foo { First, } pub use Foo::First; ``` Removing the `pub use` is clearly a breaking change, since downstream users...

A-lint
C-enhancement

- [x] split up the test suite into separate test crates highlighting each specific semver issue, while running all lints on all test crates: #203 - [ ] add a...

C-enhancement
E-help-wanted
E-mentor

### Describe your use case > Semver checking (e.g. on GitHub actions) usually gets run after another build step (cargo clippy, or cargo test). If we generate the baseline next,...

C-enhancement

What should cargo-semver-checks' behavior be when asked to semver-check a crate that only has a bin target? (a) It could exit 1 and report an error. (b) It could exit...

A-cli
C-enhancement