fix(deps): update rust crate serde_json to 1.0.116#78
Merged
Conversation
sheepduke
approved these changes
May 1, 2024
c97c268 to
662196f
Compare
sheepduke
approved these changes
May 1, 2024
662196f to
d7f69aa
Compare
sheepduke
approved these changes
May 4, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0->1.0.116Release Notes
serde-rs/json (serde_json)
v1.0.116Compare Source
v1.0.115Compare Source
v1.0.114Compare Source
v1.0.113Compare Source
swap_removeandshift_removemethods on Map (#1109)v1.0.112Compare Source
v1.0.111Compare Source
v1.0.110Compare Source
v1.0.109Compare Source
v1.0.108Compare Source
v1.0.107Compare Source
v1.0.106Compare Source
Value::as_numberaccessor (#1069, thanks @chanced)Number::as_straccessor under "arbitrary_precision" feature (#1067, thanks @chanced)v1.0.105Compare Source
v1.0.104Compare Source
v1.0.103Compare Source
v1.0.102Compare Source
v1.0.101Compare Source
v1.0.100Compare Source
-Z minimal-versionsv1.0.99Compare Source
v1.0.98Compare Source
v1.0.97Compare Source
io_error_kind()method to serde_json::Error:fn io_error_kind(&self) -> Option<std::io::ErrorKind>(#1026)v1.0.96Compare Source
to_writeronly writes valid UTF-8 strings (#1011, thanks @stepancheg)v1.0.95Compare Source
v1.0.94Compare Source
Displayandsource()(#991, #992)v1.0.93Compare Source
v1.0.92Compare Source
v1.0.91Compare Source
-Zrustdoc-scrape-exampleson docs.rs for nowv1.0.90Compare Source
v1.0.89Compare Source
v1.0.88Compare Source
appendandclone_from(#952, thanks @Lucretiel)v1.0.87Compare Source
write_i128andwrite_u128methods toserde_json::Formatterto control the formatting of 128-bit integers (#940, thanks @Lucretiel)v1.0.86Compare Source
arbitrary_precisionfeature even in no-std mode (#928, thanks @kvinwang)v1.0.85Compare Source
DisplayforNumberproduce the same representation as serializing (#919)v1.0.84Compare Source
Debugimpl ofserde_json::Valuemore compact (#918)v1.0.83Compare Source
v1.0.82Compare Source
From<Option<T>>for serde_json::Value whereT: Into<Value>(#900, thanks @kvnvelasco)v1.0.81Compare Source
indexmap/autocfgnot always properly detecting whether astdsysroot crate is available (#885, thanks @cuviper)v1.0.80Compare Source
v1.0.79Compare Source
RawValuedeserialization to propagate\uescapes for unmatched surrogates, which can later by deserialized to Vec<u8> (#830, thanks @lucacasonato)v1.0.78Compare Source
&RawValuein map key position, which would previously fail with "invalid type: newtype struct" (#851)v1.0.77Compare Source
stdnorallocfeature enabledv1.0.76Compare Source
raw_valueandallocare enabled whilestdis disabled (#850)v1.0.75Compare Source
v1.0.74Compare Source
v1.0.73Compare Source
itoadependency to 1.0v1.0.72Compare Source
\u-encoded lone surrogates when deserializing into a byte string (#828, #829, thanks @lucacasonato)v1.0.71Compare Source
v1.0.70Compare Source
serde_json::Map::retainmethod (#822, thanks @deankarn)v1.0.69Compare Source
v1.0.68Compare Source
-0when deserializing to f32 or f64 (#799, #801)v1.0.67Compare Source
v1.0.66Compare Source
v1.0.65Compare Source
v1.0.64Compare Source
RawValuefrom a slice containing non-utf8 bytes (#755)v1.0.63Compare Source
Entry::and_modifymethod on serde_json::map::Entry (#754, thanks @Krout0n)v1.0.62Compare Source
v1.0.61Compare Source
impl From<Number> for Value(#737, thanks @imp)v1.0.60Compare Source
impl FromIterator<(impl Into<String>, impl Into<Value>)> for Value, which collects a Value::Object (#733, thanks @matklad)v1.0.59Compare Source
v1.0.58Compare Source
v1.0.57Compare Source
v1.0.56Compare Source
json!macro invocation (https://github.com/rust-lang/rust/issues/73777)v1.0.55Compare Source
float_roundtrip(https://github.com/serde-rs/json/releases/tag/v1.0.54)v1.0.54Compare Source
Add
float_roundtripfeature to enable a slower but higher precision float parser based on lexical.Enabling
float_roundtripwill use sufficient precision when parsing fixed precision floats from JSON to ensure that they maintain accuracy when round-tripped through JSON. This comes at an approximately 2x performance cost for parsing floats compared to the default best-effort precision.Unlike
arbitrary_precision, the newfloat_roundtripfeature makes f64 -> JSON -> f64 produce output identical to the input.arbitrary_precisionis for making JSON -> serde_json::Number -> JSON produce output identical to the input.v1.0.53Compare Source
v1.0.52Compare Source
v1.0.51Compare Source
v1.0.50Compare Source
v1.0.49Compare Source
v1.0.48Compare Source
serde_json::value::Serializerwhich produces aValueas output (#621, thanks @sdleffler)v1.0.47Compare Source
v1.0.46Compare Source
v1.0.45Compare Source
Add no-std support (#606, thanks @Xanewok)
v1.0.44Compare Source
HashMap<String, Value>(#591)v1.0.43Compare Source
v1.0.42Compare Source
impl From<()> for Valuewhich produces Value::Null (#585, thanks @Nilix007)v1.0.41Compare Source
v1.0.40Compare Source
v1.0.39Compare Source
v1.0.38Compare Source
Deserializer::disable_recursion_limitguarded by an"unbounded_depth"Cargo cfg; this allows parsing arbitrarily deep JSON structures without any consideration for overflowing the stack; see documentation in the link for how to do this safely (#509)v1.0.37Compare Source
Work around a compounding error message bug when using serde_json in combination with erased-serde (https://github.com/dtolnay/erased-serde/issues/21) that resulted in error messages like:
v1.0.36Compare Source
v1.0.35Compare Source
v1.0.34Compare Source
"arbitrary_precision"feature is enabled (#506, thanks @koushiro)v1.0.33Compare Source
&Value(#503)v1.0.32Compare Source
E-2147483647in debug mode (#492)v1.0.31Compare Source
v1.0.30Compare Source
IgnoredAnyandRawValuewithout recursion (#486)v1.0.29Compare Source
RawValuetype which represents a contiguous range of bytes in the input corresponding to one JSON value without parsing that value into any particular data structure (#355)v1.0.28Compare Source
v1.0.27Compare Source
v1.0.26Compare Source
dtoatoryucrate for 60% higher throughput serializing floating point data (#472, benchmark)v1.0.25Compare Source
Support 2018-style import of
json!macro (#458)v1.0.24Compare Source
json!macro compatible with using thedeny(unused_results)lint (#461)v1.0.23Compare Source
(yanked)
v1.0.22Compare Source
null(#454)v1.0.21Compare Source
v1.0.20Compare Source
indexmapas the implementation of the"preserver_order"feature, aslinked-hash-mapis no longer maintained (#451, thanks @lnicola)v1.0.19Compare Source
v1.0.18Compare Source
v1.0.17Compare Source
serde_json::Valueequality whether or not"preserve_order"feature is enabled (#438, thanks @Diggsey)v1.0.16Compare Source
values_mut()iterator for serde_json::Map (#437)v1.0.15Compare Source
serde_json::from_valueconsistent withserde_json::from_strv1.0.14Compare Source
v1.0.13Compare Source
arbitrary_precisionfeature which allows the serialization and deserialization of serde_json::Number to operate on data of arbitrary size/precision, rather than just fixed-width primitive integer and floating point types (#416, thanks @alexreg)v1.0.12Compare Source
(dependency bump only)
v1.0.11Compare Source
Value::takesimilar to the method of the same name onOption(#421, thanks @dmizuk)v1.0.10Compare Source
v1.0.9Compare Source
v1.0.8Compare Source
derive(Deserialize)generated code using JSON; see Improve compile time and executable size by counting lines of LLVM IRfalse(#392, thanks @bouk)Compatibility notes
Part of the improvement to compile time comes from having generic methods in serde_json instantiate many fewer Visitor trait methods than they used to. For example if a Deserialize impl is being deserialized from JSON and the impl indicates to Serde that the type u64 is expected, serde_json can avoid instantiating all of the Visitor methods that deal with string, borrowed string, unit, sequence, map, boolean, char, bytes, borrowed bytes, option, newtype, and enum. Previously all of these methods were instantiated and compile times were predictably poor in consequence. As of this release, serde_json instantiates only the expected Visitor methods and instead renders invalid_type error messages in a central place in the Deserializer that can be instantiated just once. This does not apply to deserialize_any for which it continues to be necessary to instantiate every Visitor method.
This does mean that code relying on the deserialize hint to be wrong may no longer deserialize successfully.
v1.0.7Compare Source
v1.0.6Compare Source
v1.0.5Compare Source
v1.0.4Compare Source
v1.0.3Compare Source
v1.0.2Compare Source
v1.0.1Compare Source
Fix deserialization of maps with non-string keys (#311)
For example
{"1":"one"}can be serialized and deserialized asBTreeMap<i32, String>.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.