diff --git a/Cargo.lock b/Cargo.lock index 891d9b91e..b4ed1ee4a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,7 +39,7 @@ dependencies = [ "ndk-context", "ndk-sys", "num_enum", - "thiserror", + "thiserror 1.0.66", ] [[package]] @@ -198,7 +198,7 @@ dependencies = [ "polling", "rustix", "slab", - "thiserror", + "thiserror 1.0.66", ] [[package]] @@ -897,7 +897,7 @@ dependencies = [ "serde_bytes", "serde_json", "smallvec", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1273,7 +1273,7 @@ dependencies = [ "libc", "serde", "serde_json", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1497,7 +1497,7 @@ dependencies = [ "gstreamer", "gstreamer-app", "gstreamer-video", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1542,7 +1542,7 @@ dependencies = [ "libc", "serde", "serde_json", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -1663,7 +1663,7 @@ dependencies = [ "combine", "jni-sys", "log", - "thiserror", + "thiserror 1.0.66", "walkdir", "windows-sys 0.45.0", ] @@ -1815,7 +1815,7 @@ dependencies = [ "ndk-sys", "num_enum", "raw-window-handle", - "thiserror", + "thiserror 1.0.66", ] [[package]] @@ -2272,7 +2272,7 @@ dependencies = [ "log", "memmap2", "rustix", - "thiserror", + "thiserror 1.0.66", "wayland-backend", "wayland-client", "wayland-csd-frame", @@ -2294,9 +2294,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.86" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89275301d38033efb81a6e60e3497e734dfcc62571f2854bf4b16690398824c" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -2353,7 +2353,16 @@ version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d171f59dbaa811dbbb1aee1e73db92ec2b122911a48e1390dfe327a821ddede" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.66", +] + +[[package]] +name = "thiserror" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15291287e9bff1bc6f9ff3409ed9af665bec7a5fc8ac079ea96be07bca0e2668" +dependencies = [ + "thiserror-impl 2.0.0", ] [[package]] @@ -2367,6 +2376,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22efd00f33f93fa62848a7cab956c3d38c8d43095efda1decfc2b3a5dc0b8972" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "toml" version = "0.8.19" diff --git a/gstreamer-pbutils/Cargo.toml b/gstreamer-pbutils/Cargo.toml index e4a44b3d7..1c0f12ca3 100644 --- a/gstreamer-pbutils/Cargo.toml +++ b/gstreamer-pbutils/Cargo.toml @@ -20,7 +20,7 @@ glib.workspace = true gst.workspace = true gst-video.workspace = true gst-audio.workspace = true -thiserror = "1.0" +thiserror = "2" serde = { version = "1.0", optional = true } [dev-dependencies] diff --git a/gstreamer-utils/Cargo.toml b/gstreamer-utils/Cargo.toml index cb9fea94c..c265ce897 100644 --- a/gstreamer-utils/Cargo.toml +++ b/gstreamer-utils/Cargo.toml @@ -19,7 +19,7 @@ rust-version.workspace = true gst = { workspace = true, features = ["v1_20"] } gst-app = { workspace = true, features = ["v1_20"] } gst-video = { workspace = true, features = ["v1_20"] } -thiserror = "1" +thiserror = "2" [dev-dependencies] futures = { version = "0.3", features = ["executor"] } diff --git a/gstreamer-video/Cargo.toml b/gstreamer-video/Cargo.toml index 3c7bdbf3e..5f051f54d 100644 --- a/gstreamer-video/Cargo.toml +++ b/gstreamer-video/Cargo.toml @@ -23,7 +23,7 @@ gst.workspace = true gst-base.workspace = true futures-channel = "0.3" serde = { version = "1.0", optional = true, features = ["derive"] } -thiserror = "1.0.49" +thiserror = "2" [dev-dependencies] itertools = "0.13" diff --git a/gstreamer/Cargo.toml b/gstreamer/Cargo.toml index 4d8f64d4f..106e59bdd 100644 --- a/gstreamer/Cargo.toml +++ b/gstreamer/Cargo.toml @@ -29,7 +29,7 @@ opt-ops = { package = "option-operations", version = "0.5" } serde = { version = "1.0", optional = true, features = ["derive"] } serde_bytes = { version = "0.11", optional = true } paste = "1.0" -thiserror = "1" +thiserror = "2" smallvec = { version = "1.0", features = ["write"] } itertools = "0.13" pin-project-lite = "0.2"