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 8cd76be commit ed89de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/ocaml/interop/shim/third-party/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ path = "top/main.rs"

[dependencies]
anyhow = "1.0.75"
bitflags = "2.4"
bitflags = { version = "2.4", features = ["serde"] }
bstr = { version = "1.4.0", features = ["serde", "std", "unicode"] }
bumpalo = { version = "3.14.0", features = ["allocator_api", "collections"] }
clap-3 = { package = "clap", version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
Expand Down

0 comments on commit ed89de3

Please sign in to comment.