Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update serde crates #82

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2023

This PR contains the following updates:

Package Type Update Change
serde (source) workspace.dependencies patch 1.0.193 -> 1.0.210
serde_json workspace.dependencies patch 1.0.108 -> 1.0.128
serde_qs workspace.dependencies minor 0.12.0 -> 0.13.0
serde_with workspace.dependencies minor 3.1.0 -> 3.9.0

Release Notes

serde-rs/serde (serde)

v1.0.210

Compare Source

  • Support serializing and deserializing IpAddr and SocketAddr in no-std mode on Rust 1.77+ (#​2816, thanks @​MathiasKoch)
  • Make serde::ser::StdError and serde::de::StdError equivalent to core::error::Error on Rust 1.81+ (#​2818)

v1.0.209

Compare Source

  • Fix deserialization of empty structs and empty tuples inside of untagged enums (#​2805, thanks @​Mingun)

v1.0.208

Compare Source

  • Support serializing and deserializing unit structs in a flatten field (#​2802, thanks @​jonhoo)

v1.0.207

Compare Source

  • Improve interactions between flatten attribute and skip_serializing/skip_deserializing (#​2795, thanks @​Mingun)

v1.0.206

Compare Source

v1.0.205

Compare Source

  • Use serialize_entry instead of serialize_key + serialize_value when serialize flattened newtype enum variants (#​2785, thanks @​Mingun)
  • Avoid triggering a collection_is_never_read lint in the deserialization of enums containing flattened fields (#​2791)

v1.0.204

Compare Source

  • Apply #[diagnostic::on_unimplemented] attribute on Rust 1.78+ to suggest adding serde derive or enabling a "serde" feature flag in dependencies (#​2767, thanks @​weiznich)

v1.0.203

Compare Source

v1.0.202

Compare Source

  • Provide public access to RenameAllRules in serde_derive_internals (#​2743)

v1.0.201

Compare Source

  • Resolve unexpected_cfgs warning (#​2737)

v1.0.200

Compare Source

  • Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#​2733, thanks @​jamessan)

v1.0.199

Compare Source

  • Fix ambiguous associated item when forward_to_deserialize_any! is used on an enum with Error variant (#​2732, thanks @​aatifsyed)

v1.0.198

Compare Source

v1.0.197

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78
  • Optimize code size of some Display impls (#​2697, thanks @​nyurik)

v1.0.196

Compare Source

  • Improve formatting of "invalid type" error messages involving floats (#​2682)

v1.0.195

Compare Source

  • Prevent remote definitions of tuple struct or tuple variant from triggering dead_code warning (#​2671)

v1.0.194

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
serde-rs/json (serde_json)

v1.0.128

Compare Source

v1.0.127

Compare Source

v1.0.126

Compare Source

  • Improve string parsing on targets that use 32-bit pointers but also have fast 64-bit integer arithmetic, such as aarch64-unknown-linux-gnu_ilp32 and x86_64-unknown-linux-gnux32 (#​1182, thanks @​CryZe)

v1.0.125

Compare Source

v1.0.124

Compare Source

v1.0.123

Compare Source

v1.0.122

Compare Source

  • Support using json! in no-std crates (#​1166)

v1.0.121

Compare Source

v1.0.120

Compare Source

v1.0.119

Compare Source

v1.0.118

Compare Source

v1.0.117

Compare Source

  • Resolve unexpected_cfgs warning (#​1130)

v1.0.116

Compare Source

v1.0.115

Compare Source

  • Documentation improvements

v1.0.114

Compare Source

  • Fix unused_imports warnings when compiled by rustc 1.78

v1.0.113

Compare Source

  • Add swap_remove and shift_remove methods on Map (#​1109)

v1.0.112

Compare Source

  • Improve formatting of "invalid type" error messages involving floats (#​1107)

v1.0.111

Compare Source

v1.0.110

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v1.0.109

Compare Source

  • Documentation improvements
samscott89/serde_qs (serde_qs)

v0.13.0

  • Bump axum support to 0.7
  • Remove support for actix-web 2.0
  • Add support for extracting form data in actix via QsForm
jonasbb/serde_with (serde_with)

v3.9.0: serde_with v3.9.0

Compare Source

Added
  • Deserialize a map` and skip all elements failing to deserialize by @​johnmave126 (#​763)

    MapSkipError acts like a map (HashMap/BTreeMap), but keys or values that fail to deserialize, like are ignored.

    For formats with heterogeneously typed maps, we can collect only the elements where both key and value are deserializable.
    This is also useful in conjunction to #[serde(flatten)] to ignore some entries when capturing additional fields.

    // JSON
    "value": {"0": "v0", "5": "v5", "str": "str", "10": 2},
    
    // Rust
    #[serde_as(as = "MapSkipError<DisplayFromStr, _>")]
    value: BTreeMap<u32, String>,
    
    // Only deserializes entries with a numerical key and a string value, i.e.,
    {0 => "v0", 5 => "v5"}
    

v3.8.3: serde_with v3.8.3

Compare Source

Fixed
  • Fix compile issues when dependency schemars_0_8 is used with the preserve_order features (#​762)

v3.8.2: serde_with v3.8.2

Compare Source

Changed
  • Bump MSRV to 1.67, since that is required for the time dependency.
    The time version needed to be updated for nightly compatibility.
Fixed

v3.8.1: serde_with v3.8.1

Compare Source

Fixed
  • Do not emit schemars(deserialize_with = "...") annotations, as schemars does not support them (#​735)
    Thanks to @​sivizius for reporting the issue.

v3.8.0: serde_with v3.8.0

Compare Source

Added
Changed
  • Bump base64 dependency to v0.22 (#​724)
  • Update dev dependencies
Fixed
  • serde_conv regressed and triggered clippy::ptr_arg and add test to prevent future problems. (#​731)

v3.7.0: serde_with v3.7.0

Compare Source

Added
Fixed
  • Detect conflicting schema_with attributes on fields with schemars annotations by @​swlynch99 (#​715)
    This extends the existing avoidance mechanism to a new variant fixing #​712.

v3.6.1: serde_with v3.6.1

Compare Source

Changed
  • Eliminate dependency on serde's "derive" feature by @​dtolnay (#​694)
    This allows parallel compilation of serde and serde_derive which can speed up the wallclock time.
    It requires that downstream crates do not use the "derive" feature either.

v3.6.0: serde_with v3.6.0

Compare Source

Added
  • Add IfIsHumanReadable for conditional implementation by @​irriden (#​690)
    Used to specify different transformations for text-based and binary formats.
  • Add more JsonSchemaAs impls for all Duration* and Timestamp* adaptors by @​swlynch99 (#​685)
Changed
  • Bump MSRV to 1.65, since that is required for the regex dependency.

v3.5.1: serde_with v3.5.1

Compare Source

Fixed
  • The serde_as macro now better detects existing schemars attributes on fields and incorporates them by @​swlynch99 (#​682)
    This avoids errors on existing #[schemars(with = ...)] annotations.

v3.5.0: serde_with v3.5.0

Compare Source

Added
  • Support for schemars integration added by @​swlynch99 (#​666)
    The support uses a new Schema top-level item which implements JsonSchema
    The serde_as macro can now detect schemars usage and emits matching annotations for all fields with serde_as attribute.
    Many types of this crate come already with support for the schemars, but support is not complete and will be extended over time.

v3.4.0: serde_with v3.4.0

Compare Source

  • Lower minimum required serde version to 1.0.152 (#​653)
    Thanks to @​banool for submitting the PR.

    This allows people that have a problem with 1.0.153 to still use serde_with.

  • Add support for core::ops::Bound (#​655)
    Thanks to @​qsantos for submitting the PR.

v3.3.0: serde_with v3.3.0

Compare Source

Added
  • Support the hashbrown type HashMap and HashSet (#​636, #​637)
    Thanks to @​OliverNChalk for raising the issue and submitting a PR.

    This extends the existing support for HashMaps and HashSets to the hashbrown crate v0.14.
    The same conversions as for the std and indexmap types are available, like general support for #[serde_as] and converting it to/from sequences or maps.

Changed
  • Generalize some trait bounds for DeserializeAs implementations

    While working on #​637 it came to light that some of the macros for generating DeserializeAs implementations were not as generic as they could.
    This means they didn't work with custom hasher types, but only the default hashers.
    This has now been fixed and custom hashers should work better, as long as they implement BuildHasher + Default.

  • (internal) Change how features are documented (#​639)

    This change moves the feature documentation into Cargo.toml in a format that can be read by lib.rs.
    It will improve the generated features documentation there.
    The page with all features remains in the guide but is now generated from the Cargo.toml information.

v3.2.0: serde_with v3.2.0

Compare Source

Added
  • Add optional support for indexmap v2 (#​621)
    Support for v1 is already available using the indexmap_1 feature.
    This adds identical support for v2 of indexmap using the indexmap_2 feature.
Changed
  • Bump MSRV to 1.64, since that is required for the indexmap v2 dependency.
Fixed
  • Prevent panics when deserializing i64::MIN using TimestampSeconds<i64> (#​632, #​633)
    Thanks to @​hollmmax for reporting and fixing the issue.

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 is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from fb3f0a9 to 0a3a775 Compare July 22, 2023 02:41
@renovate renovate bot changed the title chore(deps): update rust crate serde to 1.0.174 chore(deps): update rust crate serde to 1.0.175 Jul 24, 2023
@renovate renovate bot changed the title chore(deps): update rust crate serde to 1.0.175 chore(deps): update serde crates Jul 26, 2023
@renovate renovate bot force-pushed the renovate/serde-crates branch 5 times, most recently from b3b166a to fc7f4b8 Compare July 31, 2023 23:29
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from b0acb79 to cc40744 Compare August 7, 2023 07:42
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from 1c57f18 to a845956 Compare August 21, 2023 06:07
@renovate renovate bot force-pushed the renovate/serde-crates branch 3 times, most recently from 4d072c7 to 72c3626 Compare August 26, 2023 05:43
@renovate renovate bot force-pushed the renovate/serde-crates branch 7 times, most recently from 996b92f to 7c94c25 Compare September 14, 2023 00:30
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from e119a11 to 86be0e9 Compare April 16, 2024 22:05
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from 6779156 to 411c1fd Compare May 1, 2024 18:53
@renovate renovate bot force-pushed the renovate/serde-crates branch from 411c1fd to 3da633c Compare May 8, 2024 00:42
@renovate renovate bot force-pushed the renovate/serde-crates branch 4 times, most recently from 3e4c3fa to e86a6a1 Compare July 1, 2024 20:41
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from 380616f to 20ce4fd Compare July 7, 2024 00:14
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from ef3a902 to 5830446 Compare August 2, 2024 01:01
@renovate renovate bot force-pushed the renovate/serde-crates branch 5 times, most recently from 9c03689 to 5d295ca Compare August 12, 2024 20:44
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from 348252f to c827358 Compare August 15, 2024 20:34
@renovate renovate bot force-pushed the renovate/serde-crates branch 2 times, most recently from 12757be to be84afd Compare August 24, 2024 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants