mirror of
https://github.com/crate-ci/typos.git
synced 2025-02-13 08:40:29 -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: [
|
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
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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 = ""
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue