2 Commits

Author SHA1 Message Date
davidskrundz 7caafff750 Ensure lint names are underscored for the future 2026-09-28 19:44:40 -06:00
davidskrundz 9ce6ba594d Update for rust 1.98 2026-08-20 19:30:49 -06:00
22 changed files with 14888 additions and 13800 deletions
Generated
+25 -25
View File
@@ -60,9 +60,9 @@ checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.6.6" version = "4.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "473c7e07f409a8d772161724aa8db6a765a2532a70f9667eeb7b49d3d02fbdca" checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@@ -70,9 +70,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.6.6" version = "4.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b48fea5a88e9ae728a2dcbedbfc0e730f7d60da42e1cb049a83c9fb8b789889" checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@@ -82,21 +82,21 @@ dependencies = [
[[package]] [[package]]
name = "clap_derive" name = "clap_derive"
version = "4.6.4" version = "4.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061" checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
dependencies = [ dependencies = [
"heck", "heck",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 3.0.3", "syn 3.0.6",
] ]
[[package]] [[package]]
name = "clap_lex" name = "clap_lex"
version = "1.1.0" version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
[[package]] [[package]]
name = "colorchoice" name = "colorchoice"
@@ -106,9 +106,9 @@ checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570"
[[package]] [[package]]
name = "either" name = "either"
version = "1.17.0" version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d" checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
[[package]] [[package]]
name = "heck" name = "heck"
@@ -133,7 +133,7 @@ dependencies = [
[[package]] [[package]]
name = "lint-policy" name = "lint-policy"
version = "0.0.2" version = "0.0.3"
dependencies = [ dependencies = [
"serde", "serde",
"strum", "strum",
@@ -142,7 +142,7 @@ dependencies = [
[[package]] [[package]]
name = "lint-policy-cli" name = "lint-policy-cli"
version = "0.0.2" version = "0.0.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@@ -209,7 +209,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 3.0.3", "syn 3.0.6",
] ]
[[package]] [[package]]
@@ -261,9 +261,9 @@ dependencies = [
[[package]] [[package]]
name = "syn" name = "syn"
version = "3.0.3" version = "3.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -272,29 +272,29 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "2.0.20" version = "2.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "2.0.20" version = "2.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 3.0.3", "syn 3.0.6",
] ]
[[package]] [[package]]
name = "toml" name = "toml"
version = "1.1.4+spec-1.1.0" version = "1.1.6+spec-1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5" checksum = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a"
dependencies = [ dependencies = [
"serde_core", "serde_core",
"serde_spanned", "serde_spanned",
@@ -330,9 +330,9 @@ checksum = "7d56353a2a665ad0f41a421187180aab746c8c325620617ad883a99a1cbe66d2"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.24" version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
[[package]] [[package]]
name = "utf8parse" name = "utf8parse"
+500 -497
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -8,6 +8,7 @@ Run the full validation suite before committing:
```sh ```sh
just all just all
just install
``` ```
##### Publish ##### Publish
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "lint-policy-cli" name = "lint-policy-cli"
version = "0.0.2" version = "0.0.3"
description = "Track rust lints" description = "Track rust lints"
repository = "https://git.skrundz.dev/codegen/lint-policy" repository = "https://git.skrundz.dev/codegen/lint-policy"
keywords = ["cargo", "lint"] keywords = ["cargo", "lint"]
+1 -2
View File
@@ -15,7 +15,6 @@ mod diff;
mod group; mod group;
mod source; mod source;
use cli::Args;
use diff::{Diff, diff}; use diff::{Diff, diff};
use crate::group::GroupTable; use crate::group::GroupTable;
@@ -27,7 +26,7 @@ static EMPTY_GROUPS: GroupTable = GroupTable::new();
#[cfg_attr(test, expect(clippy::missing_errors_doc, reason = "main function"))] #[cfg_attr(test, expect(clippy::missing_errors_doc, reason = "main function"))]
fn main() -> Result<()> { fn main() -> Result<()> {
let args = Args::parse(); let args = cli::Args::parse();
let new_lints = args.read_new_source(); let new_lints = args.read_new_source();
let old_lints = args.read_old_source(); let old_lints = args.read_old_source();
@@ -226,5 +226,5 @@ fn strip_lint_name(linter: Linter, name: &str) -> String {
name.strip_prefix(linter.as_ref()) name.strip_prefix(linter.as_ref())
.and_then(|name| name.strip_prefix("::")) .and_then(|name| name.strip_prefix("::"))
.unwrap_or(name) .unwrap_or(name)
.to_owned() .replace('-', "_")
} }
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "lint-policy" name = "lint-policy"
version = "0.0.2" version = "0.0.3"
description = "Model used by cargo-lint-policy" description = "Model used by cargo-lint-policy"
repository = "https://git.skrundz.dev/codegen/lint-policy" repository = "https://git.skrundz.dev/codegen/lint-policy"
keywords = ["lint"] keywords = ["lint"]
+979 -979
View File
File diff suppressed because it is too large Load Diff
+994 -994
View File
File diff suppressed because it is too large Load Diff
+1005 -1003
View File
File diff suppressed because it is too large Load Diff
+1003 -1003
View File
File diff suppressed because it is too large Load Diff
+1011 -1011
View File
File diff suppressed because it is too large Load Diff
+1015 -1015
View File
File diff suppressed because it is too large Load Diff
+1018 -1018
View File
File diff suppressed because it is too large Load Diff
+1022 -1022
View File
File diff suppressed because it is too large Load Diff
+1028 -1028
View File
File diff suppressed because it is too large Load Diff
+1038 -1038
View File
File diff suppressed because it is too large Load Diff
+1048 -1048
View File
File diff suppressed because it is too large Load Diff
+1052 -1052
View File
File diff suppressed because it is too large Load Diff
+1061 -1061
View File
File diff suppressed because it is too large Load Diff
+1083
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,2 +1,2 @@
[toolchain] [toolchain]
channel = "1.97" channel = "1.98"