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
  • Loading branch information
Shayne Fletcher authored and facebook-github-bot committed Feb 22, 2024
1 parent d6d0a16 commit b807d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocamlrep_marshal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ doctest = false
crate-type = ["lib", "staticlib"]

[dependencies]
bitflags = "2.4"
bitflags = { version = "2.4", features = ["serde"] }
ocamlrep = { path = "../ocamlrep" }

[build-dependencies]
Expand Down

0 comments on commit b807d90

Please sign in to comment.