obi1kenobi / cargo-semver-checks

Scan your Rust crate for semver violations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider using `package.metadata` to configure allow/warn/deny/forbid lint settings

obi1kenobi opened this issue · comments

While we wait for external tools support for the lints table, consider using package.metadata to allow crates to configure their lint settings.

For example, this could address the tokio use case where they'd prefer to allow minor lints like #[must_use]. It would also allow us to add allow-by-default lints like "API got extended," which may be desirable for some use cases and not desirable in others.

Docs: https://doc.rust-lang.org/cargo/reference/manifest.html#the-metadata-table

Related issue: #58