Skip to content

Commit e704f43

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 70a08ce commit e704f43

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

controller/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ nccl-sys = { path = "../nccl-sys" }
2525
ndslice = { version = "0.0.0", path = "../ndslice" }
2626
pyo3 = { version = "0.24", features = ["anyhow", "multiple-pymethods"] }
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
tokio = { version = "1.46.1", features = ["full", "test-util", "tracing"] }
3030
torch-sys = { path = "../torch-sys" }
3131
tracing = { version = "0.1.41", features = ["attributes", "valuable"] }

hyperactor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ regex = "1.11.1"
4646
rustls-pemfile = "1.0.0"
4747
serde = { version = "1.0.219", features = ["derive", "rc"] }
4848
serde_bytes = "0.11"
49-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
49+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
5050
serde_with = { version = "3", features = ["hex", "json"] }
5151
serde_yaml = "0.9.25"
5252
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }

hyperactor_mesh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ preempt_rwlock = { version = "0.0.0", path = "../preempt_rwlock" }
6161
rand = { version = "0.8", features = ["small_rng"] }
6262
serde = { version = "1.0.219", features = ["derive", "rc"] }
6363
serde_bytes = "0.11"
64-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
64+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
6565
thiserror = "2.0.12"
6666
tokio = { version = "1.46.1", features = ["full", "test-util", "tracing"] }
6767
tokio-stream = { version = "0.1.17", features = ["fs", "io-util", "net", "signal", "sync", "time"] }

hyperactor_multiprocess/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tracing = { version = "0.1.41", features = ["attributes", "valuable"] }
2828
maplit = "1.0"
2929
rand = { version = "0.8", features = ["small_rng"] }
3030
regex = "1.11.1"
31-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
31+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
3232
timed_test = { version = "0.0.0", path = "../timed_test" }
3333
tracing-test = { version = "0.2.3", features = ["no-env-filter"] }
3434

hyperactor_telemetry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ opentelemetry_sdk = { version = "0.29.0", features = ["rt-tokio"] }
2222
rand = { version = "0.8", features = ["small_rng"] }
2323
scuba = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main", optional = true }
2424
serde = { version = "1.0.219", features = ["derive", "rc"] }
25-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
25+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
2626
tokio = { version = "1.46.1", features = ["full", "test-util", "tracing"] }
2727
tracing = { version = "0.1.41", features = ["attributes", "valuable"] }
2828
tracing-appender = "0.2.3"

monarch_rdma/extension/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ monarch_hyperactor = { version = "0.0.0", path = "../../monarch_hyperactor" }
1919
monarch_rdma = { version = "0.0.0", path = ".." }
2020
pyo3 = { version = "0.24", features = ["anyhow", "multiple-pymethods"] }
2121
serde = { version = "1.0.219", features = ["derive", "rc"] }
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
tracing = { version = "0.1.41", features = ["attributes", "valuable"] }

monarch_simulator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ monarch_tensor_worker = { version = "0.0.0", path = "../monarch_tensor_worker" }
2121
monarch_types = { version = "0.0.0", path = "../monarch_types" }
2222
ndslice = { version = "0.0.0", path = "../ndslice" }
2323
serde = { version = "1.0.219", features = ["derive", "rc"] }
24-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
24+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
2525
thiserror = "2.0.12"
2626
tokio = { version = "1.46.1", features = ["full", "test-util", "tracing"] }
2727
torch-sys = { version = "0.0.0", path = "../torch-sys" }

monarch_tensor_worker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ nix = { version = "0.30.1", features = ["dir", "event", "hostname", "inotify", "
2727
parking_lot = { version = "0.12.1", features = ["send_guard"] }
2828
pyo3 = { version = "0.24", features = ["anyhow", "multiple-pymethods"] }
2929
serde = { version = "1.0.219", features = ["derive", "rc"] }
30-
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "unbounded_depth"] }
30+
serde_json = { version = "1.0.140", features = ["alloc", "float_roundtrip", "raw_value", "unbounded_depth"] }
3131
sorted-vec = "0.8.3"
3232
tokio = { version = "1.46.1", features = ["full", "test-util", "tracing"] }
3333
torch-sys = { version = "0.0.0", path = "../torch-sys" }

0 commit comments

Comments
 (0)