From 0aba03d206ca7d90a8afa0b3d99a0f3d083fbe2f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:52:29 +0000 Subject: [PATCH 1/2] build(deps): bump thiserror from 1.0.69 to 2.0.3 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.69 to 2.0.3. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ebf6a81..bcc31c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -373,18 +373,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.69" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "2.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 9b42123..a409dd8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ modular-bitfield = "0.11" crc16 = "0.4" clap = { version = "4.0", features = ["derive"], optional = true } parse-display = "0.10" -thiserror = "1.0" +thiserror = "2.0" [build-dependencies] glob = "0.3" From 2a2fc4228b98f42a4b6dc549b0d4ee0dee57f1d4 Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Fri, 15 Nov 2024 21:20:01 +0100 Subject: [PATCH 2/2] ci(pre-commit): Do not spellcheck past commit messages --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 14873e9..ecfb4ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,8 @@ repos: args: [ --ignore-words=.codespellignore ] + # We cannot fix spelling errors in past commit message without force-push. + exclude: ^CHANGELOG.md$ - repo: https://github.com/doublify/pre-commit-rust rev: v1.0 hooks: