From b807d9014cd02f67bc576257044aff2eb037c19f Mon Sep 17 00:00:00 2001 From: Shayne Fletcher Date: Thu, 22 Feb 2024 09:13:20 -0800 Subject: [PATCH] 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 --- ocamlrep_marshal/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocamlrep_marshal/Cargo.toml b/ocamlrep_marshal/Cargo.toml index 3c631e74..c9e44097 100644 --- a/ocamlrep_marshal/Cargo.toml +++ b/ocamlrep_marshal/Cargo.toml @@ -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]