achanda / ipnetwork

A library to work with CIDRs in rust
Apache License 2.0
121 stars 38 forks source link

chore(deps): update rust crate serde_json to 1.0.116 #193

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
serde_json dev-dependencies patch 1.0 -> 1.0.116

Release Notes

serde-rs/json (serde_json) ### [`v1.0.116`](https://togithub.com/serde-rs/json/releases/tag/v1.0.116) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.115...v1.0.116) - Make module structure comprehensible to static analysis ([#​1124](https://togithub.com/serde-rs/json/issues/1124), thanks [@​mleonhard](https://togithub.com/mleonhard)) ### [`v1.0.115`](https://togithub.com/serde-rs/json/releases/tag/v1.0.115) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.114...v1.0.115) - Documentation improvements ### [`v1.0.114`](https://togithub.com/serde-rs/json/releases/tag/v1.0.114) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.113...v1.0.114) - Fix unused_imports warnings when compiled by rustc 1.78 ### [`v1.0.113`](https://togithub.com/serde-rs/json/releases/tag/v1.0.113) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.112...v1.0.113) - Add `swap_remove` and `shift_remove` methods on Map ([#​1109](https://togithub.com/serde-rs/json/issues/1109)) ### [`v1.0.112`](https://togithub.com/serde-rs/json/releases/tag/v1.0.112) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.111...v1.0.112) - Improve formatting of "invalid type" error messages involving floats ([#​1107](https://togithub.com/serde-rs/json/issues/1107)) ### [`v1.0.111`](https://togithub.com/serde-rs/json/releases/tag/v1.0.111) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.110...v1.0.111) - Improve floating point parsing performance on loongarch64 ([#​1100](https://togithub.com/serde-rs/json/issues/1100), thanks [@​heiher](https://togithub.com/heiher)) ### [`v1.0.110`](https://togithub.com/serde-rs/json/releases/tag/v1.0.110) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.109...v1.0.110) - Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache ### [`v1.0.109`](https://togithub.com/serde-rs/json/releases/tag/v1.0.109) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.108...v1.0.109) - Documentation improvements ### [`v1.0.108`](https://togithub.com/serde-rs/json/releases/tag/v1.0.108) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.107...v1.0.108) - Documentation improvements ([#​1075](https://togithub.com/serde-rs/json/issues/1075), [#​1081](https://togithub.com/serde-rs/json/issues/1081), [#​1082](https://togithub.com/serde-rs/json/issues/1082), thanks [@​dimo414](https://togithub.com/dimo414) and [@​fritzrehde](https://togithub.com/fritzrehde)) ### [`v1.0.107`](https://togithub.com/serde-rs/json/releases/tag/v1.0.107) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.106...v1.0.107) - impl IntoDeserializer for \&RawValue ([#​1071](https://togithub.com/serde-rs/json/issues/1071)) ### [`v1.0.106`](https://togithub.com/serde-rs/json/releases/tag/v1.0.106) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.105...v1.0.106) - Add `Value::as_number` accessor ([#​1069](https://togithub.com/serde-rs/json/issues/1069), thanks [@​chanced](https://togithub.com/chanced)) - Add `Number::as_str` accessor under "arbitrary_precision" feature ([#​1067](https://togithub.com/serde-rs/json/issues/1067), thanks [@​chanced](https://togithub.com/chanced)) ### [`v1.0.105`](https://togithub.com/serde-rs/json/releases/tag/v1.0.105) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.104...v1.0.105) - Support bool in map keys ([#​1054](https://togithub.com/serde-rs/json/issues/1054)) ### [`v1.0.104`](https://togithub.com/serde-rs/json/releases/tag/v1.0.104) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.103...v1.0.104) - Provide IntoDeserializer impl for \&serde_json::Value ([#​1045](https://togithub.com/serde-rs/json/issues/1045), thanks [@​ZetaNumbers](https://togithub.com/ZetaNumbers)) ### [`v1.0.103`](https://togithub.com/serde-rs/json/releases/tag/v1.0.103) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.102...v1.0.103) - Documentation improvements ### [`v1.0.102`](https://togithub.com/serde-rs/json/releases/tag/v1.0.102) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.101...v1.0.102) - Add a way to customize the serialization of byte arrays ([#​1039](https://togithub.com/serde-rs/json/issues/1039)) ### [`v1.0.101`](https://togithub.com/serde-rs/json/releases/tag/v1.0.101) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.100...v1.0.101) - Allow f32 and f64 as keys in maps ([#​1027](https://togithub.com/serde-rs/json/issues/1027), thanks [@​overdrivenpotato](https://togithub.com/overdrivenpotato)) ### [`v1.0.100`](https://togithub.com/serde-rs/json/releases/tag/v1.0.100) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.99...v1.0.100) - Support `-Z minimal-versions` ### [`v1.0.99`](https://togithub.com/serde-rs/json/releases/tag/v1.0.99) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.98...v1.0.99) - Support serializing serde's **option** type in a map key ([#​1030](https://togithub.com/serde-rs/json/issues/1030), thanks [@​LPGhatguy](https://togithub.com/LPGhatguy)) ### [`v1.0.98`](https://togithub.com/serde-rs/json/releases/tag/v1.0.98) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.97...v1.0.98) - Update indexmap dependency used by "preserve_order" feature to version 2 ### [`v1.0.97`](https://togithub.com/serde-rs/json/releases/tag/v1.0.97) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.96...v1.0.97) - Add `io_error_kind()` method to serde_json::Error: `fn io_error_kind(&self) -> Option` ([#​1026](https://togithub.com/serde-rs/json/issues/1026)) ### [`v1.0.96`](https://togithub.com/serde-rs/json/releases/tag/v1.0.96) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.95...v1.0.96) - Guarantee that `to_writer` only writes valid UTF-8 strings ([#​1011](https://togithub.com/serde-rs/json/issues/1011), thanks [@​stepancheg](https://togithub.com/stepancheg)) ### [`v1.0.95`](https://togithub.com/serde-rs/json/releases/tag/v1.0.95) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.94...v1.0.95) - Preserve f32 precision when serializing f32 -> serde_json::Value -> JSON string in "arbitrary_precision" mode ([#​1004](https://togithub.com/serde-rs/json/issues/1004), [#​1005](https://togithub.com/serde-rs/json/issues/1005)) ### [`v1.0.94`](https://togithub.com/serde-rs/json/releases/tag/v1.0.94) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.93...v1.0.94) - Fix message duplication between serde_json::Error's `Display` and `source()` ([#​991](https://togithub.com/serde-rs/json/issues/991), [#​992](https://togithub.com/serde-rs/json/issues/992)) ### [`v1.0.93`](https://togithub.com/serde-rs/json/releases/tag/v1.0.93) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.92...v1.0.93) - Support 128-bit integers in serde_json::to_value ([#​982](https://togithub.com/serde-rs/json/issues/982)) ### [`v1.0.92`](https://togithub.com/serde-rs/json/releases/tag/v1.0.92) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.91...v1.0.92) - Documentation improvements ### [`v1.0.91`](https://togithub.com/serde-rs/json/releases/tag/v1.0.91) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.90...v1.0.91) - Opt out of `-Zrustdoc-scrape-examples` on docs.rs for now ### [`v1.0.90`](https://togithub.com/serde-rs/json/releases/tag/v1.0.90) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.89...v1.0.90) - Documentation improvements ### [`v1.0.89`](https://togithub.com/serde-rs/json/releases/tag/v1.0.89) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.88...v1.0.89) - Fix invalid JSON incorrectly accepted when a large number has no digits after decimal point ([#​953](https://togithub.com/serde-rs/json/issues/953)) ### [`v1.0.88`](https://togithub.com/serde-rs/json/releases/tag/v1.0.88) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.87...v1.0.88) - Optimize serde_json::Map's implementation of `append` and `clone_from` ([#​952](https://togithub.com/serde-rs/json/issues/952), thanks [@​Lucretiel](https://togithub.com/Lucretiel)) ### [`v1.0.87`](https://togithub.com/serde-rs/json/releases/tag/v1.0.87) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.86...v1.0.87) - Add `write_i128` and `write_u128` methods to `serde_json::Formatter` to control the formatting of 128-bit integers ([#​940](https://togithub.com/serde-rs/json/issues/940), thanks [@​Lucretiel](https://togithub.com/Lucretiel)) ### [`v1.0.86`](https://togithub.com/serde-rs/json/releases/tag/v1.0.86) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.85...v1.0.86) - Support `arbitrary_precision` feature even in no-std mode ([#​928](https://togithub.com/serde-rs/json/issues/928), thanks [@​kvinwang](https://togithub.com/kvinwang)) ### [`v1.0.85`](https://togithub.com/serde-rs/json/releases/tag/v1.0.85) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.84...v1.0.85) - Make `Display` for `Number` produce the same representation as serializing ([#​919](https://togithub.com/serde-rs/json/issues/919)) ### [`v1.0.84`](https://togithub.com/serde-rs/json/releases/tag/v1.0.84) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.83...v1.0.84) - Make `Debug` impl of `serde_json::Value` more compact ([#​918](https://togithub.com/serde-rs/json/issues/918)) ### [`v1.0.83`](https://togithub.com/serde-rs/json/releases/tag/v1.0.83) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.82...v1.0.83) - Add categories to crates.io metadata ### [`v1.0.82`](https://togithub.com/serde-rs/json/releases/tag/v1.0.82) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.81...v1.0.82) - Implement `From>` for serde_json::Value where `T: Into` ([#​900](https://togithub.com/serde-rs/json/issues/900), thanks [@​kvnvelasco](https://togithub.com/kvnvelasco)) ### [`v1.0.81`](https://togithub.com/serde-rs/json/releases/tag/v1.0.81) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.80...v1.0.81) - Work around `indexmap`/`autocfg` not always properly detecting whether a `std` sysroot crate is available ([#​885](https://togithub.com/serde-rs/json/issues/885), thanks [@​cuviper](https://togithub.com/cuviper)) ### [`v1.0.80`](https://togithub.com/serde-rs/json/releases/tag/v1.0.80) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.79...v1.0.80) - Documentation improvements ### [`v1.0.79`](https://togithub.com/serde-rs/json/releases/tag/v1.0.79) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.78...v1.0.79) - Allow `RawValue` deserialization to propagate `\u` escapes for unmatched surrogates, which can later by deserialized to Vec\ ([#​830](https://togithub.com/serde-rs/json/issues/830), thanks [@​lucacasonato](https://togithub.com/lucacasonato)) ### [`v1.0.78`](https://togithub.com/serde-rs/json/releases/tag/v1.0.78) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.77...v1.0.78) - Support deserializing as `&RawValue` in map key position, which would previously fail with *"invalid type: newtype struct"* ([#​851](https://togithub.com/serde-rs/json/issues/851)) ### [`v1.0.77`](https://togithub.com/serde-rs/json/releases/tag/v1.0.77) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.76...v1.0.77) - Include discord invite links in the published readme - Improve compile error on compiling with neither `std` nor `alloc` feature enabled - Include integration tests in published package ([#​578](https://togithub.com/serde-rs/json/issues/578)) ### [`v1.0.76`](https://togithub.com/serde-rs/json/releases/tag/v1.0.76) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.75...v1.0.76) - Fix a build error when features `raw_value` and `alloc` are enabled while `std` is disabled ([#​850](https://togithub.com/serde-rs/json/issues/850)) ### [`v1.0.75`](https://togithub.com/serde-rs/json/releases/tag/v1.0.75) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.74...v1.0.75) - Fix deserialization of small integers in arbitrary_precision mode ([#​845](https://togithub.com/serde-rs/json/issues/845)) ### [`v1.0.74`](https://togithub.com/serde-rs/json/releases/tag/v1.0.74) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.73...v1.0.74) - Allow creating RawValues from references to unsized values ([#​841](https://togithub.com/serde-rs/json/issues/841), thanks [@​EFanZh](https://togithub.com/EFanZh)) ### [`v1.0.73`](https://togithub.com/serde-rs/json/releases/tag/v1.0.73) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.72...v1.0.73) - Update `itoa` dependency to 1.0 ### [`v1.0.72`](https://togithub.com/serde-rs/json/releases/tag/v1.0.72) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.71...v1.0.72) - Interpret `\u`-encoded lone surrogates when deserializing into a byte string ([#​828](https://togithub.com/serde-rs/json/issues/828), [#​829](https://togithub.com/serde-rs/json/issues/829), thanks [@​lucacasonato](https://togithub.com/lucacasonato)) ### [`v1.0.71`](https://togithub.com/serde-rs/json/releases/tag/v1.0.71) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.70...v1.0.71) - Add serde_json::Map::get_key_value ([#​821](https://togithub.com/serde-rs/json/issues/821), thanks [@​timothee-haudebourg](https://togithub.com/timothee-haudebourg)) - Add impl From\> for Box\ ([#​824](https://togithub.com/serde-rs/json/issues/824), thanks [@​jplatte](https://togithub.com/jplatte)) ### [`v1.0.70`](https://togithub.com/serde-rs/json/releases/tag/v1.0.70) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.69...v1.0.70) - Add `serde_json::Map::retain` method ([#​822](https://togithub.com/serde-rs/json/issues/822), thanks [@​deankarn](https://togithub.com/deankarn)) ### [`v1.0.69`](https://togithub.com/serde-rs/json/releases/tag/v1.0.69) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.68...v1.0.69) - Implement Hash for serde_json::Number ([#​814](https://togithub.com/serde-rs/json/issues/814), thanks [@​timothee-haudebourg](https://togithub.com/timothee-haudebourg)) ### [`v1.0.68`](https://togithub.com/serde-rs/json/releases/tag/v1.0.68) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.67...v1.0.68) - Preserve negative sign of `-0` when deserializing to f32 or f64 ([#​799](https://togithub.com/serde-rs/json/issues/799), [#​801](https://togithub.com/serde-rs/json/issues/801)) ### [`v1.0.67`](https://togithub.com/serde-rs/json/releases/tag/v1.0.67) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.66...v1.0.67) - Fix inconsistency of deserialization of unknown fields in a struct variant from bytes vs from Value ([#​795](https://togithub.com/serde-rs/json/issues/795)) ### [`v1.0.66`](https://togithub.com/serde-rs/json/releases/tag/v1.0.66) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.65...v1.0.66) - Preserve exponent signifier and unary plus in exponent of arbitrary_precision numbers ([#​786](https://togithub.com/serde-rs/json/issues/786), thanks [@​ruifengx](https://togithub.com/ruifengx)) ### [`v1.0.65`](https://togithub.com/serde-rs/json/releases/tag/v1.0.65) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.64...v1.0.65) - Documentation improvements ### [`v1.0.64`](https://togithub.com/serde-rs/json/releases/tag/v1.0.64) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.63...v1.0.64) - Fix deserialization panic on deserializing `RawValue` from a slice containing non-utf8 bytes ([#​755](https://togithub.com/serde-rs/json/issues/755)) ### [`v1.0.63`](https://togithub.com/serde-rs/json/releases/tag/v1.0.63) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.62...v1.0.63) - Provide `Entry::and_modify` method on [serde_json::map::Entry](https://docs.rs/serde_json/1.0/serde_json/map/enum.Entry.html) ([#​754](https://togithub.com/serde-rs/json/issues/754), thanks [@​Krout0n](https://togithub.com/Krout0n)) ### [`v1.0.62`](https://togithub.com/serde-rs/json/releases/tag/v1.0.62) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.61...v1.0.62) - Speed up Display impl of serde_json::Value by 33% ([#​751](https://togithub.com/serde-rs/json/issues/751), thanks [@​icewind1991](https://togithub.com/icewind1991)) ### [`v1.0.61`](https://togithub.com/serde-rs/json/releases/tag/v1.0.61) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.60...v1.0.61) - Add `impl From for Value` ([#​737](https://togithub.com/serde-rs/json/issues/737), thanks [@​imp](https://togithub.com/imp)) ### [`v1.0.60`](https://togithub.com/serde-rs/json/releases/tag/v1.0.60) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.59...v1.0.60) - Add `impl FromIterator<(impl Into, impl Into)> for Value`, which collects a Value::Object ([#​733](https://togithub.com/serde-rs/json/issues/733), thanks [@​matklad](https://togithub.com/matklad)) ### [`v1.0.59`](https://togithub.com/serde-rs/json/releases/tag/v1.0.59) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.58...v1.0.59) - In arbitrary_precision mode, return None from serde_json::Number::as_f64 if the JSON number is larger than the maximum possible f64 ### [`v1.0.58`](https://togithub.com/serde-rs/json/releases/tag/v1.0.58) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.57...v1.0.58) - Add serde_json::Map::remove_entry, matching the equivalent API on BTreeMap ### [`v1.0.57`](https://togithub.com/serde-rs/json/releases/tag/v1.0.57) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.56...v1.0.57) - Allow serde_json::Deserializer to be instantiated without consuming the serde_json::​de::Read impl ([#​684](https://togithub.com/serde-rs/json/issues/684)) ### [`v1.0.56`](https://togithub.com/serde-rs/json/releases/tag/v1.0.56) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.55...v1.0.56) - Improve compiler diagnostic on missing commas inside `json!` macro invocation ([https://github.com/rust-lang/rust/issues/73777](https://togithub.com/rust-lang/rust/issues/73777)) ### [`v1.0.55`](https://togithub.com/serde-rs/json/releases/tag/v1.0.55) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.54...v1.0.55) - Fix missing build script required for using `float_roundtrip` (https://github.com/serde-rs/json/releases/tag/v1.0.54) ### [`v1.0.54`](https://togithub.com/serde-rs/json/releases/tag/v1.0.54) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.53...v1.0.54) - Add [`float_roundtrip`](https://togithub.com/serde-rs/json/blob/v1.0.54/Cargo.toml#L58-L65) feature to enable a slower but higher precision float parser based on [lexical](https://togithub.com/Alexhuszagh/rust-lexical). Enabling `float_roundtrip` will 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 new `float_roundtrip` feature makes f64 -> JSON -> f64 produce output identical to the input. `arbitrary_precision` is for making JSON -> serde_json::Number -> JSON produce output identical to the input. ```toml serde_json = { version = "1.0.54", features = ["float_roundtrip"] } ``` ### [`v1.0.53`](https://togithub.com/serde-rs/json/releases/tag/v1.0.53) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.52...v1.0.53) - Reduce unhelpful indentation in the {:#?} format of serde_json::Value - Remove some unnecessary runtime checks from Serializer::collect_str ### [`v1.0.52`](https://togithub.com/serde-rs/json/releases/tag/v1.0.52) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.51...v1.0.52) - Add [serde_json::value::to_raw_value](https://docs.rs/serde_json/1/serde_json/value/fn.to_raw_value.html) to convert a serializable value to Box\ ([#​658](https://togithub.com/serde-rs/json/issues/658), thanks [@​jplatte](https://togithub.com/jplatte)) ### [`v1.0.51`](https://togithub.com/serde-rs/json/releases/tag/v1.0.51) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.50...v1.0.51) - Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input ([#​647](https://togithub.com/serde-rs/json/issues/647)) - Add FusedIterator impls for StreamDeserializer and for Map's various iterators ### [`v1.0.50`](https://togithub.com/serde-rs/json/releases/tag/v1.0.50) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.49...v1.0.50) - Implement Eq for Value, Map, Number ([#​640](https://togithub.com/serde-rs/json/issues/640), thanks [@​smarnach](https://togithub.com/smarnach)) ### [`v1.0.49`](https://togithub.com/serde-rs/json/releases/tag/v1.0.49) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.48...v1.0.49) - Improve error message when neither "std" nor "alloc" feature is enabled ([#​643](https://togithub.com/serde-rs/json/issues/643)) ### [`v1.0.48`](https://togithub.com/serde-rs/json/releases/tag/v1.0.48) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.47...v1.0.48) - Add `serde_json::value::Serializer` which produces a `Value` as output ([#​621](https://togithub.com/serde-rs/json/issues/621), thanks [@​sdleffler](https://togithub.com/sdleffler)) ### [`v1.0.47`](https://togithub.com/serde-rs/json/releases/tag/v1.0.47) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.46...v1.0.47) - Raise serde requirement to 1.0.100+ for the necessary no-std traits ([#​617](https://togithub.com/serde-rs/json/issues/617), thanks [@​Xanewok](https://togithub.com/Xanewok)) ### [`v1.0.46`](https://togithub.com/serde-rs/json/releases/tag/v1.0.46) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.45...v1.0.46) - Serialize JSON map entries using serialize_entry instead of serialize_key + serialize_value to support transcoding to XML ([#​614](https://togithub.com/serde-rs/json/issues/614), thanks [@​jmfiaschi](https://togithub.com/jmfiaschi)) ### [`v1.0.45`](https://togithub.com/serde-rs/json/releases/tag/v1.0.45) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.44...v1.0.45) - Add no-std support ([#​606](https://togithub.com/serde-rs/json/issues/606), thanks [@​Xanewok](https://togithub.com/Xanewok)) ```toml [dependencies] serde_json = { version = "1.0.45", default-features = false, features = ["alloc"] } ``` ### [`v1.0.44`](https://togithub.com/serde-rs/json/releases/tag/v1.0.44) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.43...v1.0.44) - Implement IntoDeserializer for serde_json::Value to allow deserializing from types like `HashMap` ([#​591](https://togithub.com/serde-rs/json/issues/591)) ### [`v1.0.43`](https://togithub.com/serde-rs/json/releases/tag/v1.0.43) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.42...v1.0.43) - Declare accurate minimum required version of indexmap crate when preserve-order feature is enabled ([#​590](https://togithub.com/serde-rs/json/issues/590), thanks [@​nlordell](https://togithub.com/nlordell)) ### [`v1.0.42`](https://togithub.com/serde-rs/json/releases/tag/v1.0.42) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.41...v1.0.42) - Add `impl From<()> for Value` which produces Value::Null ([#​585](https://togithub.com/serde-rs/json/issues/585), thanks [@​Nilix007](https://togithub.com/Nilix007)) ### [`v1.0.41`](https://togithub.com/serde-rs/json/releases/tag/v1.0.41) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.40...v1.0.41) - Documentation improvements (thanks [@​est31](https://togithub.com/est31) and [@​yankuu](https://togithub.com/yankuu)) ### [`v1.0.40`](https://togithub.com/serde-rs/json/releases/tag/v1.0.40) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.39...v1.0.40) - Return correct EOF error type on cut-off decimal numbers ([#​525](https://togithub.com/serde-rs/json/issues/525), thanks [@​17dec](https://togithub.com/17dec)) ### [`v1.0.39`](https://togithub.com/serde-rs/json/releases/tag/v1.0.39) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.38...v1.0.39) - Fix roundtrip of adjacently tagged enum containing f32 ([#​520](https://togithub.com/serde-rs/json/issues/520)) ### [`v1.0.38`](https://togithub.com/serde-rs/json/releases/tag/v1.0.38) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.37...v1.0.38) - Add [`Deserializer::disable_recursion_limit`](https://docs.rs/serde_json/1.0/serde_json/struct.Deserializer.html#method.disable_recursion_limit) guarded 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](https://togithub.com/serde-rs/json/issues/509)) ### [`v1.0.37`](https://togithub.com/serde-rs/json/releases/tag/v1.0.37) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.36...v1.0.37) - Work around a compounding error message bug when using serde_json in combination with erased-serde ([https://github.com/dtolnay/erased-serde/issues/21](https://togithub.com/dtolnay/erased-serde/issues/21)) that resulted in error messages like: > "trailing comma at line 32 column 41 at line 32 column 41 at line 33 column 37 at line 34 column 33 at line 35 column 29 at line 36 column 25 at line 36 column 25 at line 36 column 25 at line 36 column 25" ### [`v1.0.36`](https://togithub.com/serde-rs/json/releases/tag/v1.0.36) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.35...v1.0.36) - Fix serialization of maps with u128 key ([#​511](https://togithub.com/serde-rs/json/issues/511)) ### [`v1.0.35`](https://togithub.com/serde-rs/json/releases/tag/v1.0.35) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.34...v1.0.35) - Update example code in documentation to 2018 edition ### [`v1.0.34`](https://togithub.com/serde-rs/json/releases/tag/v1.0.34) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.33...v1.0.34) - Support serialization of i128 to Value if `"arbitrary_precision"` feature is enabled ([#​506](https://togithub.com/serde-rs/json/issues/506), thanks [@​koushiro](https://togithub.com/koushiro)) ### [`v1.0.33`](https://togithub.com/serde-rs/json/releases/tag/v1.0.33) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.32...v1.0.33) - Allow map key to be borrowed when deserializing from `&Value` ([#​503](https://togithub.com/serde-rs/json/issues/503)) ### [`v1.0.32`](https://togithub.com/serde-rs/json/releases/tag/v1.0.32) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.31...v1.0.32) - Fix panic when parsing floating point number with exponent of `E-2147483647` in debug mode ([#​492](https://togithub.com/serde-rs/json/issues/492)) ### [`v1.0.31`](https://togithub.com/serde-rs/json/releases/tag/v1.0.31) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.30...v1.0.31) - Improve performance of parsing strings containing hex escape sequences ([#​489](https://togithub.com/serde-rs/json/issues/489), thanks [@​yjh0502](https://togithub.com/yjh0502)) ### [`v1.0.30`](https://togithub.com/serde-rs/json/releases/tag/v1.0.30) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.29...v1.0.30) - Implement parsing of `IgnoredAny` and `RawValue` without recursion ([#​486](https://togithub.com/serde-rs/json/issues/486)) ### [`v1.0.29`](https://togithub.com/serde-rs/json/releases/tag/v1.0.29) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.28...v1.0.29) - Provide a [`RawValue`](https://docs.rs/serde_json/1.0/serde_json/value/struct.RawValue.html) type 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](https://togithub.com/serde-rs/json/issues/355)) ### [`v1.0.28`](https://togithub.com/serde-rs/json/releases/tag/v1.0.28) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.27...v1.0.28) - Performance improvement for calls to serde_json::from_str in which the input does not contain JSON escape sequences ([#​482](https://togithub.com/serde-rs/json/issues/482)) ### [`v1.0.27`](https://togithub.com/serde-rs/json/releases/tag/v1.0.27) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.26...v1.0.27) - Fix a warning when building docs under Rust 2018 with serde_json as a dependency ([#​476](https://togithub.com/serde-rs/json/issues/476), thanks [@​Enet4](https://togithub.com/Enet4)) ### [`v1.0.26`](https://togithub.com/serde-rs/json/releases/tag/v1.0.26) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.25...v1.0.26) - Switch from [`dtoa`](https://crates.io/crates/dtoa) to [`ryu`](https://crates.io/crates/ryu) crate for 60% higher throughput serializing floating point data ([#​472](https://togithub.com/serde-rs/json/issues/472), [benchmark](https://togithub.com/serde-rs/json-benchmark/commit/03a9401696fcdf62c4d67e0d28d47df06e544fd2)) ### [`v1.0.25`](https://togithub.com/serde-rs/json/releases/tag/v1.0.25) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.24...v1.0.25) - Support 2018-style import of [`json!`](https://docs.rs/serde_json/1.0/serde_json/macro.json.html) macro ([#​458](https://togithub.com/serde-rs/json/issues/458)) ```rust use serde_json::json; ``` ### [`v1.0.24`](https://togithub.com/serde-rs/json/releases/tag/v1.0.24) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.23...v1.0.24) - Make `json!` macro compatible with using the `deny(unused_results)` lint ([#​461](https://togithub.com/serde-rs/json/issues/461)) ### [`v1.0.23`](https://togithub.com/serde-rs/json/releases/tag/v1.0.23) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.22...v1.0.23) *(yanked)* ### [`v1.0.22`](https://togithub.com/serde-rs/json/releases/tag/v1.0.22) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.21...v1.0.22) - Fix error category when deserialization fails in a truncated `null` ([#​454](https://togithub.com/serde-rs/json/issues/454)) ### [`v1.0.21`](https://togithub.com/serde-rs/json/releases/tag/v1.0.21) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.20...v1.0.21) - Allow serializing a map with char keys ([#​453](https://togithub.com/serde-rs/json/issues/453), thanks [@​fdionisi](https://togithub.com/fdionisi)) ### [`v1.0.20`](https://togithub.com/serde-rs/json/releases/tag/v1.0.20) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.19...v1.0.20) - Switch to [`indexmap`](https://togithub.com/bluss/indexmap) as the implementation of the `"preserver_order"` feature, as `linked-hash-map` is no longer maintained ([#​451](https://togithub.com/serde-rs/json/issues/451), thanks [@​lnicola](https://togithub.com/lnicola)) ### [`v1.0.19`](https://togithub.com/serde-rs/json/releases/tag/v1.0.19) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.18...v1.0.19) - Pick up Serde's workaround to get documentation building on docs.rs ([https://github.com/serde-rs/serde/issues/1295](https://togithub.com/serde-rs/serde/issues/1295)) ### [`v1.0.18`](https://togithub.com/serde-rs/json/releases/tag/v1.0.18) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.17...v1.0.18) - Support serializing and deserializing 128-bit integers ([#​448](https://togithub.com/serde-rs/json/issues/448)) ### [`v1.0.17`](https://togithub.com/serde-rs/json/releases/tag/v1.0.17) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.16...v1.0.17) - Consistent meaning of `serde_json::Value` equality whether or not `"preserve_order"` feature is enabled ([#​438](https://togithub.com/serde-rs/json/issues/438), thanks [@​Diggsey](https://togithub.com/Diggsey)) ### [`v1.0.16`](https://togithub.com/serde-rs/json/releases/tag/v1.0.16) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.15...v1.0.16) - Add `values_mut()` iterator for serde_json::Map ([#​437](https://togithub.com/serde-rs/json/issues/437)) ### [`v1.0.15`](https://togithub.com/serde-rs/json/releases/tag/v1.0.15) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.14...v1.0.15) - Make treatment of deserializer hints by `serde_json::from_value` consistent with `serde_json::from_str` ### [`v1.0.14`](https://togithub.com/serde-rs/json/releases/tag/v1.0.14) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.13...v1.0.14) - Clearer Debug representation of serde_json::Error ([#​410](https://togithub.com/serde-rs/json/issues/410)) ### [`v1.0.13`](https://togithub.com/serde-rs/json/releases/tag/v1.0.13) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.12...v1.0.13) - Add an `arbitrary_precision` feature 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](https://togithub.com/serde-rs/json/issues/416), thanks [@​alexreg](https://togithub.com/alexreg)) ### [`v1.0.12`](https://togithub.com/serde-rs/json/releases/tag/v1.0.12) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.11...v1.0.12) *(dependency bump only)* ### [`v1.0.11`](https://togithub.com/serde-rs/json/releases/tag/v1.0.11) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.10...v1.0.11) - Add a method [`Value::take`](https://docs.rs/serde_json/1.0/serde_json/enum.Value.html#method.take) similar to the method of the same name on `Option` ([#​421](https://togithub.com/serde-rs/json/issues/421), thanks [@​dmizuk](https://togithub.com/dmizuk)) ### [`v1.0.10`](https://togithub.com/serde-rs/json/releases/tag/v1.0.10) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.9...v1.0.10) - Improve error when a JSON string contains control character ([#​414](https://togithub.com/serde-rs/json/issues/414), thanks [@​boxofrox](https://togithub.com/boxofrox)) ### [`v1.0.9`](https://togithub.com/serde-rs/json/releases/tag/v1.0.9) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.8...v1.0.9) - Hide implementation details of serde_json::Number from the Debug representation ### [`v1.0.8`](https://togithub.com/serde-rs/json/releases/tag/v1.0.8) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.7...v1.0.8) - Significant improvements to compile time of `derive(Deserialize)` generated code using JSON; see [*Improve compile time and executable size by counting lines of LLVM IR*](https://users.rust-lang.org/t/improve-compile-time-and-executable-size-by-counting-lines-of-llvm-ir/14203?u=dtolnay) - Fix typo in error message when deserializing something that is not a boolean and the input contains `false` ([#​392](https://togithub.com/serde-rs/json/issues/392), thanks [@​bouk](https://togithub.com/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. ```rust impl<'de> Deserialize<'de> for MyType { fn deserialize(deserializer: D) -> Result where D: Deserializer<'de> { struct MyVisitor; impl<'de> Visitor<'de> for MyVisitor { type Value = MyType; fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result { f.write_str("a string, although we ask the deserializer for u64") } fn visit_str(self, v: &str) -> Result where E: de::Error { Ok(/* ... */) } } // It used to be that serde_json would ignore this hint and call visit_str // for string input, but in the general case that destroys compile times // by instantiating far more Visitor methods than are ever used. deserializer.deserialize_u64(MyVisitor) } } ``` ### [`v1.0.7`](https://togithub.com/serde-rs/json/releases/tag/v1.0.7) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.6...v1.0.7) - Support top-level primitives in StreamDeserializer ([#​384](https://togithub.com/serde-rs/json/issues/384), thanks [@​bouk](https://togithub.com/bouk)) ### [`v1.0.6`](https://togithub.com/serde-rs/json/releases/tag/v1.0.6) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.5...v1.0.6) - Bump optional linked-hash-map dependency to version 0.5 ([#​382](https://togithub.com/serde-rs/json/issues/382), thanks [@​ignatenkobrain](https://togithub.com/ignatenkobrain)) ### [`v1.0.5`](https://togithub.com/serde-rs/json/releases/tag/v1.0.5) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.4...v1.0.5) - Documentation improvements ### [`v1.0.4`](https://togithub.com/serde-rs/json/releases/tag/v1.0.4) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.3...v1.0.4) - Improve error message for an array or object containing a trailing comma, which is not allowed in JSON ([#​353](https://togithub.com/serde-rs/json/issues/353), thanks [@​fmoor](https://togithub.com/fmoor)) ### [`v1.0.3`](https://togithub.com/serde-rs/json/releases/tag/v1.0.3) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.2...v1.0.3) - Performance improvement for parsing ignored data ([#​174](https://togithub.com/serde-rs/json/issues/174)) - Implement PartialEq\ for Value ([#​338](https://togithub.com/serde-rs/json/issues/338), thanks [@​foriequal0](https://togithub.com/foriequal0)) ### [`v1.0.2`](https://togithub.com/serde-rs/json/releases/tag/v1.0.2) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.1...v1.0.2) - Improve compile time by 15% ([#​314](https://togithub.com/serde-rs/json/issues/314), thanks [@​Rufflewind](https://togithub.com/Rufflewind)) ### [`v1.0.1`](https://togithub.com/serde-rs/json/releases/tag/v1.0.1) [Compare Source](https://togithub.com/serde-rs/json/compare/v1.0.0...v1.0.1) - Fix deserialization of maps with non-string keys ([#​311](https://togithub.com/serde-rs/json/issues/311)) For example `{"1":"one"}` can be serialized and deserialized as `BTreeMap`.

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.