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

This is a list of all not-yet-implemented checks that would be useful to have. Some of these require new schema and adapter implementations as well, tracked in #241. In addition...

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

[semverver](https://lib.rs/crates/semverver) is another tool for checking semver violations. Its approach at a high level is to compare rlibs rather than rustdocs. semverver was originally published as part of GSoC 2017,...

It would be useful to export the discovered semver issues and/or warnings in a machine-readable format (e.g. JSON). For example, this would allow the automatic inclusion of changes that may...

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

Unfortunately, `rustdoc` JSON output does not seem to output re-export information in `paths`, so we don't seem to be able to get information on re-exports which we can query for...

Prototype for supporting multiple rustdoc format versions in the same version of cargo-semver-checks (related to #126). Intended for discussion, and not planned to merge as-is. It supports rustdoc JSON format...

Closes #74 Couple questions @obi1kenobi: - Is there a difference between making separate lints for Structs and Enums vs making one for ImplOwners? - Does rustdoc know the alignment of...

Closes #73 I was referencing the `struct_missing.ron` file, and in there there's a `struct_type @output @tag` line in the query that doesn't exist in the enum lint. Curious what this...

The rustdoc JSON format has moved from v18 to v21 in approximately a week, which is rather more frequent changes than I had hoped for. The format improvements are definitely...

C-enhancement

### Describe your use case There has long been an RFC for "private" dependencies, which would help crates ascertain that they don't depend on a (particular version of) a crate...

C-enhancement

### Steps to reproduce the bug with the above code It is possible to use `#[doc(hidden)]` to implement seemingly-breaking changes [without actually breaking semver compatibility](https://neosmart.net/blog/2022/prettysize-0-3-release-and-a-weakness-in-rusts-type-system/). Since `cargo-semver-checks` only uses the...

C-bug