Commit 87de954
[rust] Switch serde_jsonrc -> serde_json_lenient.
Formerly we used serde_jsonrc, a Rust JSON parser which accepts some
format extensions. With this CL we switch to serde_json_lenient which is
similar but more up to date with the upstream (strict) JSON parser
serde_json.
This is necessary so that we can get the benefit of the float_roundtrip
mode recently introduced upstream.
Beyond that, there are no intentional functional changes.
This change appears large because previously, serde_jsonrc was pulled in
via a DEPS entry. With this change, we vendor it into place like the
rest of our crates. Hence, there are many "new" files though they are
all largely identical to the serde_jsonrc which we previously pulled in
via DEPS.
A full diff of the changes can be seen via:
https://github.com/google/serde_json_lenient/compare/ca5782632fc8dc3f9cf2f22055b87f910cad761f..01d0cf01520d3c5be23825ec979998fb80c780e6
most of which is due to upgrading to a more recent underlying
serde_json.
Bug: 1301719
Change-Id: If43f9f3900125c92cac9cbbc3749d31cb3085a3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3511416
Reviewed-by: Alex Gough <[email protected]>
Reviewed-by: Robert Sesek <[email protected]>
Reviewed-by: Garrett Beaty <[email protected]>
Commit-Queue: Adrian Taylor <[email protected]>
Cr-Commit-Position: refs/heads/main@{#981383}
NOKEYCHECK=True
GitOrigin-RevId: bcee0eea9a2c12ff7d38c5dcaf44bc335d3de5491 parent e27e32c commit 87de954
File tree
51 files changed
+18122
-6
lines changed- serde_json_lenient/v0_1
- crate
- src
- features_check
- io
- lexical
- value
- tests
- serde_jsonrc/v0_1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+18122
-6
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments