diff --git a/rust/flatbuffers/Cargo.toml b/rust/flatbuffers/Cargo.toml index 5f154c55edd..306e6c4ce4f 100644 --- a/rust/flatbuffers/Cargo.toml +++ b/rust/flatbuffers/Cargo.toml @@ -17,7 +17,7 @@ std = [] serialize = ["serde"] [dependencies] -bitflags = "2.6.0" +bitflags = "1.2.1" serde = { version = "1.0", optional = true } [build-dependencies] diff --git a/rust/flexbuffers/Cargo.toml b/rust/flexbuffers/Cargo.toml index 0c00e124c01..b3544676be0 100644 --- a/rust/flexbuffers/Cargo.toml +++ b/rust/flexbuffers/Cargo.toml @@ -24,5 +24,5 @@ deserialize_human_readable = [] serde = "1.0.119" serde_derive = "1.0.119" byteorder = "1.4.2" -num_enum = "0.7.3" -bitflags = "2.6.0" +num_enum = "0.5.1" +bitflags = "1.2.1"