Skip to content

Commit 41808d7

Browse files
jagillfacebook-github-bot
authored andcommitted
Add raw-value feature to serde-json
Summary: This allows deserializing to keep a section as unparsed bytes, so that other tools can decode those parts. Reviewed By: Imxset21 Differential Revision: D80104921 fbshipit-source-id: 114efae98c0bfadb9d241fef11c2d2a6792c8a93
1 parent f1fa265 commit 41808d7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

below/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ plain = "0.2"
3838
procfs = { package = "fb_procfs", version = "0.10.0", path = "procfs" }
3939
regex = "1.11.1"
4040
scopeguard = "1.2.0"
41-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
41+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
4242
signal-hook = "0.3"
4343
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
4444
slog-term = "2.8"

below/dump/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ model = { package = "below-model", version = "0.10.0", path = "../model" }
1919
once_cell = "1.21"
2020
regex = "1.11.1"
2121
render = { package = "below-render", version = "0.10.0", path = "../render" }
22-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
22+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
2323
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
2424
store = { package = "below-store", version = "0.10.0", path = "../store" }
2525
tar = "0.4.44"

below/model/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ procfs = { package = "fb_procfs", version = "0.10.0", path = "../procfs" }
2525
regex = "1.11.1"
2626
resctrlfs = { version = "0.10.0", path = "../resctrlfs" }
2727
serde = { version = "1.0.219", features = ["derive", "rc"] }
28-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
28+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
2929
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
3030
tc = { package = "below-tc", version = "0.10.0", path = "../tc" }
3131

0 commit comments

Comments
 (0)