chore: Update from _rust template

This commit is contained in:
Ed Page 2024-12-02 11:30:24 -06:00
commit 9b241e15e1
12 changed files with 12 additions and 11 deletions

View file

@ -32,7 +32,7 @@
matchManagers: [ matchManagers: [
'custom.regex', 'custom.regex',
], ],
matchPackageNames: [ matchDepNames: [
'STABLE', 'STABLE',
], ],
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version

View file

@ -128,7 +128,7 @@ jobs:
run: cargo install sarif-fmt --locked run: cargo install sarif-fmt --locked
- name: Check - name: Check
run: > 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 | clippy-sarif
| tee clippy-results.sarif | tee clippy-results.sarif
| sarif-fmt | sarif-fmt

View file

@ -82,7 +82,7 @@ Specifically, we would encourage
- File renames be isolated into their own commit - File renames be isolated into their own commit
- Add tests in a commit before their feature or fix, showing the current behavior. - 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, 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. test is verifying the expected state.
- e.g. [clap#5520](https://github.com/clap-rs/clap/pull/5520) - e.g. [clap#5520](https://github.com/clap-rs/clap/pull/5520)

View file

@ -73,6 +73,7 @@ rc_mutex = "warn"
redundant_feature_names = "warn" redundant_feature_names = "warn"
ref_option_ref = "warn" ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn" rest_pat_in_fully_bound_structs = "warn"
result_large_err = "allow"
same_functions_in_if_condition = "warn" same_functions_in_if_condition = "warn"
self_named_module_files = "warn" self_named_module_files = "warn"
semicolon_if_nothing_returned = "warn" semicolon_if_nothing_returned = "warn"

View file

@ -14,7 +14,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7" unicase = "2.7"

View file

@ -12,7 +12,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features] [features]
default = ["std"] default = ["std"]

View file

@ -13,7 +13,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[package.metadata.release] [package.metadata.release]
tag-prefix = "" tag-prefix = ""

View file

@ -13,7 +13,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7" unicase = "2.7"

View file

@ -13,7 +13,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
unicase = "2.7" unicase = "2.7"

View file

@ -13,7 +13,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View file

@ -12,7 +12,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features] [features]
default = [] default = []

View file

@ -13,7 +13,7 @@ include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
rustdoc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features] [features]
default = ["all"] default = ["all"]