diff --git a/Cargo.toml b/Cargo.toml index 1c7284311..954fe880f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,6 +55,7 @@ clap = { version = "4.5.4", features = ["derive"] } anyhow = "1.0" slotmap = "1.0.7" async-channel = "2.2.0" +bitflags = "2.5.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 8a149ec36..2dc357163 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -25,7 +25,7 @@ ruffle_video = { path = "../video" } ruffle_macros = { path = "macros" } ruffle_wstr = { path = "../wstr" } swf = { path = "../swf" } -bitflags = "2.5.0" +bitflags = { workspace = true } smallvec = { version = "1.13.2", features = ["union"] } num-traits = "0.2" num-derive = "0.4" diff --git a/flv/Cargo.toml b/flv/Cargo.toml index f92370d35..b85297d96 100644 --- a/flv/Cargo.toml +++ b/flv/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -bitflags = "2.5.0" +bitflags = { workspace = true } thiserror = "1.0" \ No newline at end of file diff --git a/render/naga-agal/Cargo.toml b/render/naga-agal/Cargo.toml index 0c40786fb..fe826a4a2 100644 --- a/render/naga-agal/Cargo.toml +++ b/render/naga-agal/Cargo.toml @@ -11,7 +11,7 @@ version.workspace = true workspace = true [dependencies] -bitflags = "2.5.0" +bitflags = { workspace = true } naga = { workspace = true } num-derive = "0.4.2" num-traits = "0.2.18" diff --git a/swf/Cargo.toml b/swf/Cargo.toml index eccdc313a..00b025f3d 100644 --- a/swf/Cargo.toml +++ b/swf/Cargo.toml @@ -12,7 +12,7 @@ repository.workspace = true workspace = true [dependencies] -bitflags = "2.5.0" +bitflags = { workspace = true } bitstream-io = "2.2.0" byteorder = "1.5" encoding_rs = "0.8.33" diff --git a/tests/input-format/Cargo.toml b/tests/input-format/Cargo.toml index 1d19b284e..f1e1c2dc8 100644 --- a/tests/input-format/Cargo.toml +++ b/tests/input-format/Cargo.toml @@ -13,4 +13,4 @@ workspace = true [dependencies] serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.115" -bitflags = "2.5.0" +bitflags = { workspace = true }