Skip to content

Commit

Permalink
bitflags: enable feature 'serde'
Browse files Browse the repository at this point in the history
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
Shayne Fletcher authored and facebook-github-bot committed Feb 22, 2024
1 parent 85bb896 commit d188bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion below/store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit d188bd5

Please sign in to comment.