mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-04 15:00:59 -05:00
chore: Update from _rust template
This commit is contained in:
commit
9b241e15e1
12 changed files with 12 additions and 11 deletions
2
.github/renovate.json5
vendored
2
.github/renovate.json5
vendored
|
@ -32,7 +32,7 @@
|
|||
matchManagers: [
|
||||
'custom.regex',
|
||||
],
|
||||
matchPackageNames: [
|
||||
matchDepNames: [
|
||||
'STABLE',
|
||||
],
|
||||
extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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 = ""
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = []
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue