From c3711e395376c329ece96398147ccd04bf5f316f Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 4 Apr 2024 13:45:27 +0200 Subject: [PATCH] chore: Use workspace version for enum-map --- Cargo.toml | 1 + core/Cargo.toml | 2 +- render/Cargo.toml | 2 +- render/wgpu/Cargo.toml | 2 +- swf/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ccb5171e7..c70bdc389 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,6 +58,7 @@ async-channel = "2.2.0" bitflags = "2.5.0" bytemuck = "1.15.0" chrono = { version = "0.4.35", default-features = false } +enum-map = "2.7.3" [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 76a286ba2..44ea65883 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -61,7 +61,7 @@ flv-rs = { path = "../flv" } async-channel = { workspace = true } jpegxr = { git = "https://github.com/ruffle-rs/jpegxr", branch = "ruffle", optional = true } image = { version = "0.25.0", default-features = false, features = ["tiff"] } -enum-map = "2.7.3" +enum-map = { workspace = true } ttf-parser = "0.20" num-bigint = "0.4" unic-segment = "0.9.0" diff --git a/render/Cargo.toml b/render/Cargo.toml index c40bdd285..d9a6675ab 100644 --- a/render/Cargo.toml +++ b/render/Cargo.toml @@ -23,7 +23,7 @@ lyon = { version = "1.0.1", optional = true } lyon_geom = "1.0.5" thiserror = "1.0" wasm-bindgen = { version = "=0.2.92", optional = true } -enum-map = "2.7.3" +enum-map = { workspace = true } serde = { version = "1.0.197", features = ["derive"] } clap = { workspace = true, optional = true } h263-rs-yuv = { git = "https://github.com/ruffle-rs/h263-rs", rev = "5c8d9d7d86f62b70ca484df006a75a9c8ff1985c"} diff --git a/render/wgpu/Cargo.toml b/render/wgpu/Cargo.toml index 445cb35a7..4da36621d 100644 --- a/render/wgpu/Cargo.toml +++ b/render/wgpu/Cargo.toml @@ -16,7 +16,7 @@ tracing = { workspace = true } ruffle_render = { path = "..", features = ["tessellator", "wgpu"] } bytemuck = { workspace = true, features = ["derive"] } clap = { workspace = true, optional = true } -enum-map = "2.7.3" +enum-map = { workspace = true } fnv = "1.0.7" swf = { path = "../../swf" } image = { version = "0.25.0", default-features = false } diff --git a/swf/Cargo.toml b/swf/Cargo.toml index 00b025f3d..60263e576 100644 --- a/swf/Cargo.toml +++ b/swf/Cargo.toml @@ -22,7 +22,7 @@ libflate = {version = "2.0", optional = true} log = "0.4" flate2 = {version = "1.0", optional = true} lzma-rs = {version = "0.3.0", optional = true } -enum-map = "2.7.3" +enum-map = { workspace = true } simple_asn1 = "0.6.2" [features]