cargo-semver-checks
cargo-semver-checks copied to clipboard
Scan your Rust crate for semver violations.
### Which lint or lints are the issue trait_method_added ### Known issues that might be causing this - [ ] Is the flagged item defined in another crate, or a...
Removing a `pub` field from a `union` type is clearly a major breaking change. But how about _adding_ a new field? I chatted with @joshlf about this, and the current...
By default, Rust isn't particularly prescriptive about the difference between a minor and a patch version bump. But many libraries and maintainers may choose to offer stronger guarantees about which...
Background on discriminants: https://doc.rust-lang.org/reference/items/enumerations.html#discriminants We're looking for four lints total: - a public API enum's variant used to have a well-defined discriminant, but no longer does — two cases: -...
This adds a `--registry` command line flag to the check release capabilities. The argument to the flag is the name of the registry to use to lookup the crates when...
This feature flag enables the "native-certs" feature from tame-index which enables the use of the host OS certificate store with reqwest. I'm separately working on a PR to support third...
Some crates (often on only some feature combinations) advertise support for `no_std` use cases: situations where the Rust standard library components (`std`, `alloc`, etc.) are not available and one can...
### Describe your use case With the new unstable flag `cargo semver-checks -Z unstable-options --witness-hints`, `cargo-semver-checks` is now capable of printing 1-3 line **witness hints** that give a brief example...
### Steps to reproduce the bug with the above code I have a [crate](https://gitlab.com/spearman/nativesys-rs) that includes several workspace members as git submodules in the repository. I want to check if...
If a type in the public API has no components that `impl Drop`, adding the first `impl Drop` on that type or any of its components appears to be a...