diff --git a/Cargo.lock b/Cargo.lock index a936a19c..0e137d92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1320,18 +1320,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "thiserror" -version = "1.0.69" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +checksum = "037e29b009aa709f293b974da5cd33b15783c049e07f8435778ce8c4871525d8" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "ea4778c7e8ff768bdb32a58a2349903859fe719a320300d7d4ce8636f19a1e69" dependencies = [ "proc-macro2", "quote", diff --git a/package/origlang-cli/Cargo.toml b/package/origlang-cli/Cargo.toml index 01410201..1bfda86e 100644 --- a/package/origlang-cli/Cargo.toml +++ b/package/origlang-cli/Cargo.toml @@ -10,7 +10,7 @@ license = "MPL-2.0" clap = { version = "4.5.4", features = ["derive"] } env_logger = "0.11.3" log = "0.4.21" -thiserror = "1.0.59" +thiserror = "2.0.0" origlang-typesystem-model = { path = "../origlang-typesystem-model" } origlang-typecheck = { path = "../origlang-typecheck" } origlang-runtime = { path = "../origlang-runtime" } diff --git a/package/origlang-compiler-entrypoint/Cargo.toml b/package/origlang-compiler-entrypoint/Cargo.toml index 5c7e162c..e1abfbbe 100644 --- a/package/origlang-compiler-entrypoint/Cargo.toml +++ b/package/origlang-compiler-entrypoint/Cargo.toml @@ -15,4 +15,4 @@ origlang-ir-optimizer = { path = "../origlang-ir-optimizer" } origlang-lexer = { path = "../origlang-lexer" } origlang-parser = { path = "../origlang-parser" } origlang-typecheck = { path = "../origlang-typecheck" } -thiserror = { version = "1.0.59" } +thiserror = { version = "2.0.0" } diff --git a/package/origlang-interop/Cargo.toml b/package/origlang-interop/Cargo.toml index 6eb007c8..88a87ca9 100644 --- a/package/origlang-interop/Cargo.toml +++ b/package/origlang-interop/Cargo.toml @@ -20,4 +20,4 @@ origlang-parser = { path = "../origlang-parser" } js-sys = "0.3.69" console_error_panic_hook = "0.1.7" web-sys = { version = "0.3.69", features = ["console"] } -thiserror = "1.0.59" +thiserror = "2.0.0" diff --git a/package/origlang-lexer/Cargo.toml b/package/origlang-lexer/Cargo.toml index d9a49d4d..56f7af57 100644 --- a/package/origlang-lexer/Cargo.toml +++ b/package/origlang-lexer/Cargo.toml @@ -6,6 +6,6 @@ license = "MIT" [dependencies] log = "0.4.21" -thiserror = "1.0.61" +thiserror = "2.0.0" origlang-ast = { path = "../origlang-ast" } origlang-source-span = { path = "../origlang-source-span" } diff --git a/package/origlang-parser/Cargo.toml b/package/origlang-parser/Cargo.toml index cabc1b47..5a1c08e3 100644 --- a/package/origlang-parser/Cargo.toml +++ b/package/origlang-parser/Cargo.toml @@ -12,4 +12,4 @@ origlang-ast = { path = "../origlang-ast" } origlang-source-span = { path = "../origlang-source-span" } origlang-lexer = { path = "../origlang-lexer" } origlang-token-stream = { path = "../origlang-token-stream" } -thiserror = "1.0.61" +thiserror = "2.0.0" diff --git a/package/origlang-runtime/Cargo.toml b/package/origlang-runtime/Cargo.toml index 920b780f..80fd1bdf 100644 --- a/package/origlang-runtime/Cargo.toml +++ b/package/origlang-runtime/Cargo.toml @@ -7,7 +7,7 @@ license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -thiserror = "1.0.59" +thiserror = "2.0.0" derivative = "2.2.0" derive_more = "0.99.17" log = "0.4.21" diff --git a/package/origlang-testsuite/Cargo.toml b/package/origlang-testsuite/Cargo.toml index f0491a9c..6b149879 100644 --- a/package/origlang-testsuite/Cargo.toml +++ b/package/origlang-testsuite/Cargo.toml @@ -16,4 +16,4 @@ origlang-runtime = { version = "0.1.0", path = "../origlang-runtime" } origlang-source-span = { version = "*", path = "../origlang-source-span" } origlang-parser = { path = "../origlang-parser" } origlang-typecheck = { path = "../origlang-typecheck" } -thiserror = "1.0.59" +thiserror = "2.0.0" diff --git a/package/origlang-typecheck/Cargo.toml b/package/origlang-typecheck/Cargo.toml index 211c7fc2..5dad7a0a 100644 --- a/package/origlang-typecheck/Cargo.toml +++ b/package/origlang-typecheck/Cargo.toml @@ -8,4 +8,4 @@ license = "MIT" origlang-typesystem-model = { path = "../origlang-typesystem-model" } origlang-ast = { path = "../origlang-ast" } log = "0.4.21" -thiserror = "1.0.61" +thiserror = "2.0.0"