summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShayne Fletcher <shaynefletcher@meta.com>2024-02-22 09:13:20 -0800
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2024-02-22 09:13:20 -0800
commitd188bd5adc02a7bbd7f33511fdfb5245f134f804 (patch)
tree224f8d51f76ab27f189927893aac5be42329d176
parent85bb8962a5943845952caf8a524092bb51bc52d6 (diff)
bitflags: enable feature 'serde'
Summary: building the "renderdag" package (fbcode/eden/scm/lib/renderdag/Cargo.toml) fails with ```lang=php,counterexample error[E0277]: the trait bound `InternalBitFlags: Serialize` is not satisfied --> /data/users/shaynefletcher/fbsource/fbcode/eden/scm/lib/renderdag/src/render.rs:213:46 ``` this diff resolves the issue by enabling the `serde` feature on the bitflags crate Reviewed By: capickett Differential Revision: D54067851 fbshipit-source-id: 2f6ababbae0c4667e4896f03a2fb39c973de535c
-rw-r--r--below/store/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/below/store/Cargo.toml b/below/store/Cargo.toml
index cce92894..232970b3 100644
--- a/below/store/Cargo.toml
+++ b/below/store/Cargo.toml
@@ -11,7 +11,7 @@ license = "Apache-2.0"
[dependencies]
anyhow = "1.0.75"
-bitflags = "2.4"
+bitflags = { version = "2.4", features = ["serde"] }
bytes = { version = "1.1", features = ["serde"] }
common = { package = "below-common", version = "0.7.1", path = "../common" }
humantime = "2.1"