Enable unbounded_depth feature for serde_json

Summary: I'm parsing some deeply-nested JSON, and it's running into the limit. This feature enables a potential footgun, but even with the feature enabled you have to add code to reach for said footgun.

Reviewed By: jsgf

Differential Revision: D31284743

fbshipit-source-id: 00ea5d7d7db8bdeb878d48fe390831f39e007409
This commit is contained in:
Jonathan Keljo 2021-09-30 14:55:10 -07:00 committed by Facebook GitHub Bot
parent 641c32a90e
commit 542e84d8fc
47 changed files with 47 additions and 47 deletions

View File

@ -16,4 +16,4 @@ sysinfo = "0.17.2"
thrift-types = { version = "0.1.0", path = "../../../scm/lib/thrift-types" }
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }
tokio-uds-compat = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
tracing = "0.1"
tracing = "0.1.27"

View File

@ -19,7 +19,7 @@ serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_alt = { path = "serde_alt" }
serde_cbor = "0.11"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[dev-dependencies]
minibench = { path = "../minibench" }

View File

@ -26,7 +26,7 @@ regex = "1.4.2"
reqwest = { version = "0.10", features = ["json", "rustls-tls", "stream"] }
rust-ini = { version = "0.17", features = ["inline-comment"] }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
[dev-dependencies]

View File

@ -23,7 +23,7 @@ os_info = "=3.0.6"
pest = "2.1"
regex = "1.4.2"
reqwest = { version = "0.10", features = ["blocking"], optional = true }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sha2 = { version = "0.8", optional = true }
tempfile = "3.1"
thiserror = "1.0.29"

View File

@ -29,7 +29,7 @@ log = { version = "0.4.8", features = ["kv_unstable"] }
percent-encoding = "2.1"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"
thiserror = "1.0.29"
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }

View File

@ -9,5 +9,5 @@ anyhow = "1.0"
edenapi_types = { path = "../../types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"

View File

@ -14,7 +14,7 @@ revisionstore_types = { path = "../../revisionstore/types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_bytes = "0.11"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
types = { path = "../../types" }

View File

@ -23,7 +23,7 @@ pin-project = "0.4.28"
regex = "1.4.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"
thiserror = "1.0.29"
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }

View File

@ -38,7 +38,7 @@ regex = "1.4.2"
revisionstore_types = { path = "types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sha-1 = "0.8"
sha2 = "0.8"
streams = { path = "../streams" }

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies]
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
tracing-collector = { path = "../tracing-collector" }

View File

@ -9,7 +9,7 @@ indexmap = { version = "1.7.0", features = ["rayon", "serde-1"] }
libc = "0.2.98"
parking_lot = "0.10.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
tracing = "0.1.27"
tracing-subscriber = { version = "0.2.22", features = ["parking_lot"] }

View File

@ -23,7 +23,7 @@ quickcheck = "1.0"
rand = { version = "0.8", features = ["small_rng"] }
rand_chacha = "0.3"
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[features]
default = ["for-tests"]

View File

@ -131,7 +131,7 @@ scuba_ext = { version = "0.1.0", path = "common/scuba_ext" }
segmented_changelog = { version = "0.1.0", path = "segmented_changelog" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
skeleton_manifest = { version = "0.1.0", path = "derived_data/skeleton_manifest" }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
sql_construct = { version = "0.1.0", path = "common/sql_construct" }

View File

@ -81,7 +81,7 @@ revset = { version = "0.1.0", path = "../revset" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
skeleton_manifest = { version = "0.1.0", path = "../derived_data/skeleton_manifest" }
skiplist = { version = "0.1.0", path = "../reachabilityindex/skiplist" }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }

View File

@ -43,7 +43,7 @@ mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
repo_derived_data = { version = "0.1.0", path = "../repo_attributes/repo_derived_data" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
skiplist = { version = "0.1.0", path = "../reachabilityindex/skiplist" }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -21,7 +21,7 @@ mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
nonzero_ext = "0.2"
once_cell = "1.4"
rand = { version = "0.8", features = ["small_rng"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
sql_ext = { version = "0.1.0", path = "../../common/rust/sql_ext" }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -38,7 +38,7 @@ rate_limiting = { version = "0.1.0", path = "../rate_limiting" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
smallvec = { version = "1.6.1", features = ["serde", "specialization", "union"] }
sshrelay = { version = "0.1.0", path = "../sshrelay" }

View File

@ -35,7 +35,7 @@ repo_factory = { version = "0.1.0", path = "../repo_factory" }
scopeguard = "1.0.0"
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
sshrelay = { version = "0.1.0", path = "../sshrelay" }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -42,7 +42,7 @@ scuba = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
tempdir = "0.3"

View File

@ -19,7 +19,7 @@ serde = { version = "1.0.126", features = ["derive", "rc"] }
[dev-dependencies]
assert_matches = "1.5"
maplit = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[patch.crates-io]
daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" }

View File

@ -46,7 +46,7 @@ repo_factory = { version = "0.1.0", path = "../repo_factory" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
secure_utils = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
thiserror = "1.0.29"

View File

@ -29,7 +29,7 @@ tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }
[dev-dependencies]
fbinit = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
fbinit-tokio = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[patch.crates-io]
daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" }

View File

@ -18,7 +18,7 @@ manifest = { version = "0.1.0", path = "../../manifest" }
megarepo_configs = { version = "0.1.0", path = "../../../../configerator/structs/scm/mononoke/megarepo" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
sql_construct = { version = "0.1.0", path = "../../common/sql_construct" }
sql_ext = { version = "0.1.0", path = "../../common/rust/sql_ext" }

View File

@ -12,7 +12,7 @@ anyhow = "1.0"
bookmarks = { version = "0.1.0", path = "../../bookmarks" }
mercurial_types = { version = "0.1.0", path = "../types" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[patch.crates-io]
daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" }

View File

@ -21,7 +21,7 @@ itertools = "0.10.1"
mercurial_types = { version = "0.1.0", path = "../types" }
metaconfig_types = { version = "0.1.0", path = "../../metaconfig/types" }
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
smallvec = { version = "1.6.1", features = ["serde", "specialization", "union"] }
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }

View File

@ -20,7 +20,7 @@ regex = "1.4.2"
repos = { version = "0.1.0", path = "../../../../configerator/structs/scm/mononoke/repos/repos" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_ignored = "0.1"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
toml = "=0.5.7"

View File

@ -62,7 +62,7 @@ regex = "1.4.2"
repo_read_write_status = { version = "0.1.0", path = "../repo_client/repo_read_write_status" }
revset = { version = "0.1.0", path = "../revset" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
sql_construct = { version = "0.1.0", path = "../common/sql_construct" }

View File

@ -48,7 +48,7 @@ fbinit-tokio = { version = "0.1.0", git = "https://github.com/facebookexperiment
memblob = { version = "0.1.0", path = "../blobstore/memblob" }
pretty_assertions = "0.6"
quickcheck_async = "0.1.1"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }
[patch.crates-io]

View File

@ -51,7 +51,7 @@ repo_read_write_status = { version = "0.1.0", path = "repo_read_write_status" }
revisionstore_types = { version = "0.1.0", path = "../../scm/lib/revisionstore/types" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
streaming_clone = { version = "0.1.0", path = "streaming_clone" }

View File

@ -15,7 +15,7 @@ permission_checker = { version = "0.1.0", path = "../../permission_checker" }
scribe_ext = { version = "0.1.0", path = "../../common/scribe_ext" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[patch.crates-io]
daemonize = { git = "https://github.com/krallin/daemonize", rev = "f7be28efa1b4a70e43bb37b5f4ff4d664992edca" }

View File

@ -36,7 +36,7 @@ movers = { version = "0.1.0", path = "../commit_rewriting/movers" }
mutable_counters = { version = "0.1.0", path = "../mutable_counters" }
pushrebase = { version = "0.1.0", path = "../pushrebase" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
synced_commit_mapping = { version = "0.1.0", path = "../commit_rewriting/synced_commit_mapping" }
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }

View File

@ -17,7 +17,7 @@ maplit = "1.0"
netstring = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
permission_checker = { version = "0.1.0", path = "../permission_checker" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
session_id = { version = "0.1.0", path = "../server/session_id" }
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }
tokio-util = { version = "0.6", features = ["full"] }

View File

@ -13,7 +13,7 @@ arc-swap = "1.1"
cached_config = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
futures = { version = "0.3.13", features = ["async-await", "compat"] }
once_cell = "1.4"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
tunables-derive = { version = "0.1.0", path = "tunables-derive" }
tunables_structs = { version = "0.1.0", path = "../../../configerator/structs/scm/mononoke/tunables" }

View File

@ -35,7 +35,7 @@ pushrebase = { version = "0.1.0", path = "../pushrebase" }
pushrebase_hook = { version = "0.1.0", path = "../pushrebase/pushrebase_hook" }
repo_factory = { version = "0.1.0", path = "../repo_factory" }
scuba_ext = { version = "0.1.0", path = "../common/scuba_ext" }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
slog = { version = "2.5", features = ["max_level_trace", "nested-values"] }
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "master" }
sql_construct = { version = "0.1.0", path = "../common/sql_construct" }

View File

@ -19,7 +19,7 @@ serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_alt = { path = "serde_alt" }
serde_cbor = "0.11"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[dev-dependencies]
minibench = { path = "../minibench" }

View File

@ -10,7 +10,7 @@ configmodel = { path = "../configmodel" }
indexmap = { version = "1.7.0", features = ["rayon", "serde-1"] }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
tracing = "0.1.27"
util = { path = "../util" }

View File

@ -9,7 +9,7 @@ anyhow = "1.0"
configparser = { path = "../configparser" }
hostname = { path = "../../../../common/rust/shed/hostname" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[features]
default = []

View File

@ -27,7 +27,7 @@ regex = "1.4.2"
reqwest = { version = "0.10", features = ["json", "rustls-tls", "stream"] }
rust-ini = { version = "0.17", features = ["inline-comment"] }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
[dev-dependencies]

View File

@ -26,7 +26,7 @@ pest = "2.1"
regex = "1.4.2"
reqwest = { version = "0.10", features = ["blocking"], optional = true }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sha2 = { version = "0.8", optional = true }
tempfile = "3.1"
tracing = "0.1.27"

View File

@ -34,7 +34,7 @@ parking_lot = "0.10.2"
percent-encoding = "2.1"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }
tracing = "0.1.27"

View File

@ -9,5 +9,5 @@ anyhow = "1.0"
edenapi_types = { path = "../../types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"

View File

@ -15,7 +15,7 @@ revisionstore_types = { path = "../../revisionstore/types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_bytes = "0.11"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.29"
types = { path = "../../types" }

View File

@ -25,7 +25,7 @@ pin-project = "0.4.28"
regex = "1.4.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
structopt = "0.3.21"
thiserror = "1.0.29"
tokio = { version = "1.10", features = ["full", "test-util", "tracing"] }

View File

@ -40,7 +40,7 @@ regex = "1.4.2"
revisionstore_types = { path = "types" }
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
sha-1 = "0.8"
sha2 = "0.8"
tempfile = "3.1"

View File

@ -6,5 +6,5 @@ edition = "2018"
[dependencies]
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
tracing-collector = { path = "../tracing-collector" }

View File

@ -9,7 +9,7 @@ indexmap = { version = "1.7.0", features = ["rayon", "serde-1"] }
libc = "0.2.98"
parking_lot = "0.10.2"
serde = { version = "1.0.126", features = ["derive", "rc"] }
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
tracing = "0.1.27"
tracing-subscriber = { version = "0.2.22", features = ["parking_lot"] }

View File

@ -23,7 +23,7 @@ quickcheck = "1.0"
rand = { version = "0.8", features = ["small_rng"] }
rand_chacha = "0.3"
serde_cbor = "0.11"
serde_json = { version = "1.0", features = ["float_roundtrip"] }
serde_json = { version = "1.0", features = ["float_roundtrip", "unbounded_depth"] }
[features]
default = ["for-tests"]