From 45a2ab69c0377cd164fcc8671475e50fcd477449 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 4 Apr 2024 14:01:11 +0200 Subject: [PATCH] chore: Use workspace version for thiserror --- Cargo.toml | 1 + core/Cargo.toml | 2 +- flv/Cargo.toml | 2 +- render/Cargo.toml | 2 +- render/webgl/Cargo.toml | 2 +- video/Cargo.toml | 2 +- video/software/Cargo.toml | 2 +- web/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index db522516b..786fea4f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,6 +67,7 @@ log = "0.4" num-derive = "0.4.2" num-traits = "0.2.18" serde = "1.0.197" +thiserror = "1.0" [workspace.lints.rust] # Clippy nightly often adds new/buggy lints that we want to ignore. diff --git a/core/Cargo.toml b/core/Cargo.toml index 3061638dd..fbc32c4e2 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -34,7 +34,7 @@ downcast-rs = "1.2.0" url = "2.5.0" weak-table = "0.3.2" percent-encoding = "2.3.1" -thiserror = "1.0" +thiserror = { workspace = true } chrono = { workspace = true, features = ["clock"] } web-time = "0.2.4" encoding_rs = "0.8.33" diff --git a/flv/Cargo.toml b/flv/Cargo.toml index b85297d96..ad4b49687 100644 --- a/flv/Cargo.toml +++ b/flv/Cargo.toml @@ -7,4 +7,4 @@ license = "MIT OR Apache-2.0" [dependencies] bitflags = { workspace = true } -thiserror = "1.0" \ No newline at end of file +thiserror = { workspace = true } \ No newline at end of file diff --git a/render/Cargo.toml b/render/Cargo.toml index afed51ec2..b1a14f760 100644 --- a/render/Cargo.toml +++ b/render/Cargo.toml @@ -21,7 +21,7 @@ smallvec = { version = "1.13.2", features = ["union"] } downcast-rs = "1.2.0" lyon = { version = "1.0.1", optional = true } lyon_geom = "1.0.5" -thiserror = "1.0" +thiserror = { workspace = true } wasm-bindgen = { version = "=0.2.92", optional = true } enum-map = { workspace = true } serde = { workspace = true, features = ["derive"] } diff --git a/render/webgl/Cargo.toml b/render/webgl/Cargo.toml index 5d4d116cf..4896619a3 100644 --- a/render/webgl/Cargo.toml +++ b/render/webgl/Cargo.toml @@ -18,7 +18,7 @@ ruffle_render = { path = "..", features = ["tessellator", "web"] } wasm-bindgen = "=0.2.92" bytemuck = { workspace = true, features = ["derive"] } swf = { path = "../../swf" } -thiserror = "1.0" +thiserror = { workspace = true } [dependencies.web-sys] version = "0.3.69" diff --git a/video/Cargo.toml b/video/Cargo.toml index 8020af5c6..9134a4db8 100644 --- a/video/Cargo.toml +++ b/video/Cargo.toml @@ -14,7 +14,7 @@ workspace = true swf = { path = "../swf" } ruffle_render = { path = "../render" } slotmap = { workspace = true } -thiserror = "1.0" +thiserror = { workspace = true } [features] default = [] diff --git a/video/software/Cargo.toml b/video/software/Cargo.toml index 86b8fb137..02beee035 100644 --- a/video/software/Cargo.toml +++ b/video/software/Cargo.toml @@ -15,7 +15,7 @@ ruffle_render = { path = "../../render" } ruffle_video = { path = ".." } swf = { path = "../../swf" } slotmap = { workspace = true } -thiserror = "1.0" +thiserror = { workspace = true } flate2 = { workspace = true } log = { workspace = true } diff --git a/web/Cargo.toml b/web/Cargo.toml index 3b5c18abd..79cc0c614 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -51,7 +51,7 @@ serde-wasm-bindgen = "0.6.5" chrono = { workspace = true, features = ["wasmbind", "clock"] } getrandom = { version = "0.2", features = ["js"] } serde = { workspace = true, features = ["derive"] } -thiserror = "1.0" +thiserror = { workspace = true } base64 = "0.22.0" async-channel = { workspace = true } futures-util = { version = "0.3.30", features = ["sink"] }