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: 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"