Update to thiserror 2

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1583>
This commit is contained in:
Sebastian Dröge 2024-11-06 10:38:33 +02:00
parent 79440636c2
commit a38ad3451f
5 changed files with 36 additions and 16 deletions

44
Cargo.lock generated
View file

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

View file

@ -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]

View file

@ -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"] }

View file

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

View file

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