cargo-semver-checks
cargo-semver-checks copied to clipboard
Scan your Rust crate for semver violations.
Rust appears to allow trait items (so far, types and methods, in the future [possibly also constants](https://github.com/rust-lang/rust/issues/113521)) to be excluded from trait objects by applying `Self: Sized` bounds like so:...
> Oooh interesting, this is a false-positive — we wanted this to _not_ get flagged. > > Perhaps because the `N` constant isn't defined in the `impl` block and is...
This issue about trait associated consts and functions acting as a backstop for removed inherent items got me thinking, what about Deref? Is the following breaking if the `// REMOVE`...
For example: ```rust pub struct SecretlyIter; #[doc(hidden)] impl Iterator for SecretlyIter { type Item = i64; fn next(&mut self) -> Option { None } } ``` The fact that `SecretlyIter`...
> This is a little more nebulous than I thought - it works when `RustdocCommand::silence` is true, but when it is false, since we just forward the rustdoc err stream...
### Describe your use case According to the [config](https://doc.rust-lang.org/cargo/reference/config.html#termcolor) linked by obi1kenobi [here](https://github.com/obi1kenobi/cargo-semver-checks/pull/737#discussion_r1554487922), the base `cargo` tool supports configuring color and logging in the `[term]` section of ~~Cargo.toml~~ config.toml. As...
### Steps to reproduce the bug with the above code See the "Actual Behavior" section. ### Actual Behaviour ``` $ git clone https://gitlab.com/sequoia-pgp/sequoia-cert-store.git $ cd sequoia-cert-store $ git checkout cee6bfd8...
Figure out the best way to lay out such a section to make it the most appealing and effective it can be. Decide if we can/should use screenshots, YouTube embeds,...
From a recent `cargo semver-checks && cargo publish` run on a new release of `cargo-semver-checks` itself: ``` Parsing cargo-semver-checks v0.30.0 (current) Parsed [ 43.575s] (current) Parsing cargo-semver-checks v0.29.1 (baseline) Parsed...
Related to https://github.com/obi1kenobi/cargo-semver-checks/issues/634 > [!WARNING] > This is just for checking how to update snapshots with `insta`. Not a migration from the current test system to `insta` snapshots. Trying out...