diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 0f5e456..6dd1153 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -32,7 +32,7 @@ matchManagers: [ 'custom.regex', ], - matchPackageNames: [ + matchDepNames: [ 'STABLE', ], extractVersion: '^(?\\d+\\.\\d+)', // Drop the patch version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f6576a..1f516ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -128,7 +128,7 @@ jobs: run: cargo install sarif-fmt --locked - name: Check run: > - cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated + cargo clippy --workspace --all-features --all-targets --message-format=json | clippy-sarif | tee clippy-results.sarif | sarif-fmt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9bcfdd3..6dbe1ee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -82,7 +82,7 @@ Specifically, we would encourage - File renames be isolated into their own commit - Add tests in a commit before their feature or fix, showing the current behavior. The diff for the feature/fix commit will then show how the behavior changed, - making it clearer to reviewrs and the community and showing people that the + making it clearer to reviewers and the community and showing people that the test is verifying the expected state. - e.g. [clap#5520](https://github.com/clap-rs/clap/pull/5520) diff --git a/Cargo.toml b/Cargo.toml index 78b2140..8bcacd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,6 +73,7 @@ rc_mutex = "warn" redundant_feature_names = "warn" ref_option_ref = "warn" rest_pat_in_fully_bound_structs = "warn" +result_large_err = "allow" same_functions_in_if_condition = "warn" self_named_module_files = "warn" semicolon_if_nothing_returned = "warn" diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index 03196f8..3840d58 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -14,7 +14,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [dependencies] unicase = "2.7" diff --git a/crates/dictgen/Cargo.toml b/crates/dictgen/Cargo.toml index 4b43d14..209342f 100644 --- a/crates/dictgen/Cargo.toml +++ b/crates/dictgen/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [features] default = ["std"] diff --git a/crates/typos-cli/Cargo.toml b/crates/typos-cli/Cargo.toml index 83284c7..d8d6624 100644 --- a/crates/typos-cli/Cargo.toml +++ b/crates/typos-cli/Cargo.toml @@ -13,7 +13,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [package.metadata.release] tag-prefix = "" diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index c243d5e..936dea7 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -13,7 +13,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [dependencies] unicase = "2.7" diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 0ff680f..a5345be 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -13,7 +13,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [dependencies] unicase = "2.7" diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index d8a8131..49ce6b3 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -13,7 +13,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [dependencies] anyhow = "1.0" diff --git a/crates/varcon-core/Cargo.toml b/crates/varcon-core/Cargo.toml index 30d3b15..225004d 100644 --- a/crates/varcon-core/Cargo.toml +++ b/crates/varcon-core/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [features] default = [] diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index a4a7ffb..af23fc3 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -13,7 +13,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] [features] default = ["all"]