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

Update Rust crate serde to v1.0.215 #773

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 1, 2023

This PR contains the following updates:

Package Type Update Change
serde (source) dependencies patch 1.0.152 -> 1.0.215

Release Notes

serde-rs/serde (serde)

v1.0.215

Compare Source

v1.0.214

Compare Source

  • Implement IntoDeserializer for all Deserializers in serde::de::value module (#​2568, thanks @​Mingun)

v1.0.213

Compare Source

  • Fix support for macro-generated with attributes inside a newtype struct (#​2847)

v1.0.212

Compare Source

  • Fix hygiene of macro-generated local variable accesses in serde(with) wrappers (#​2845)

v1.0.211

Compare Source

  • Improve error reporting about mismatched signature in with and default attributes (#​2558, thanks @​Mingun)
  • Show variant aliases in error message when variant deserialization fails (#​2566, thanks @​Mingun)
  • Improve binary size of untagged enum and internally tagged enum deserialization by about 12% (#​2821)

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

v1.0.193

Compare Source

v1.0.192

Compare Source

v1.0.191

Compare Source

  • Documentation improvements

v1.0.190

Compare Source

  • Preserve NaN sign when deserializing f32 from f64 or vice versa (#​2637)

v1.0.189

Compare Source

  • Fix "cannot infer type" error when internally tagged enum contains untagged variant (#​2613, thanks @​ahl)

v1.0.188

Compare Source

  • Fix "failed to parse manifest" error when building serde using a Cargo version between 1.45 and 1.50 (#​2603)

v1.0.187

Compare Source

  • Remove support for Emscripten targets on rustc older than 1.40 (#​2600)

v1.0.186

Compare Source

  • Disallow incompatible versions of serde_derive and serde in the dependency graph (#​2588, thanks @​soqb)

v1.0.185

Compare Source

  • Fix error "cannot move out of *self which is behind a shared reference" deriving Serialize on a non_exhaustive enum (#​2591)

v1.0.184

Compare Source

  • Restore from-source serde_derive build on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.io

v1.0.183

Compare Source

  • Support deserializing Box<OsStr> with an equivalent representation as OsString (#​2556, thanks @​DBLouis)

v1.0.182

Compare Source

v1.0.181

Compare Source

  • Make serde(alias) work in combination with flatten when using in-place deserialization (#​2443, thanks @​Mingun)
  • Improve the representation of adjacently tagged enums in formats where enum tags are serialized by index, as opposed to by string name (#​2505, #​2496, thanks @​Baptistemontan)

v1.0.180

Compare Source

  • Update to 2018 edition

v1.0.179

Compare Source

  • Support serialization of tuple variants inside a flattened field (#​2448, thanks @​Mingun)

v1.0.178

Compare Source

  • Fix build error when using serde with "std" feature turned off and "unstable" feature turned on (#​2541)

v1.0.177

Compare Source

  • Add serde(rename_all_fields = "...") attribute to apply a rename_all on every struct variant of an enum (#​1695, thanks @​jplatte)
  • Improve diagnostics for attribute parse errors (#​2536, thanks @​jplatte)

v1.0.176

Compare Source

  • Allow tag field of an internally tagged enum to have same name as a field inside a skipped struct variant (#​2266, thanks @​flisky)

v1.0.175

Compare Source

v1.0.174

Compare Source

  • Documentation improvements

v1.0.173

Compare Source

  • Fix missing trait implementations when using serde derive macro on a macro-generated data structure, such as via the bitflags crate (#​2516)

v1.0.172

Compare Source

  • Experiment with precompiling the serde_derive macros to reduce build time (#​2514)

v1.0.171

Compare Source

v1.0.170

Compare Source

  • Produce error message on suffixed string literals inside serde attributes (#​2242)
  • Support single identifier as unbraced default value for const generic parameter (#​2449)

v1.0.169

Compare Source

  • Add Deserializer::deserialize_identifier support for adjacently tagged enums (#​2475, thanks @​Baptistemontan)
  • Fix unused_braces lint in generated Deserialize impl that uses braced const generic expressions (#​2414)

v1.0.168

Compare Source

  • Allow serde::de::IgnoredAny to be the type for a serde(flatten) field (#​2436, thanks @​Mingun)
  • Allow larger preallocated capacity for smaller elements (#​2494)

v1.0.167

Compare Source

  • Add serialize and deserialize impls for RangeFrom and RangeTo (#​2471, thanks @​tbu-)

v1.0.166

Compare Source

  • Add no-alloc category to crates.io metadata

v1.0.165

Compare Source

  • Fix incorrect count of fields passed to tuple deserialization methods when using serde(skip_deserializing) attributes (#​2466, thanks @​Mingun)
  • Fix -Zminimal-versions build

v1.0.164

Compare Source

v1.0.163

Compare Source

  • Eliminate build script from serde_derive crate to slightly reduce build time (#​2442, thanks @​taiki-e)

v1.0.162

Compare Source

  • Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the csv crate (#​2377, thanks @​mfro)

    #[derive(Deserialize)]
    pub struct Record {
        common: u64,
        #[serde(flatten)]
        kind: Kind,
    }
    
    #[derive(Deserialize)]
    #[serde(tag = "kind", content = "parameter", rename_all = "lowercase")]
    enum Kind {
        Foo(u64),
        Bar(bool),
    }
    common,kind,parameter
    1,foo,42
    2,bar,true
    

v1.0.161

Compare Source

  • Improve error messages produced by serde_test on test failure (#​2435, thanks @​Mingun)

v1.0.160

Compare Source

v1.0.159

Compare Source

  • Accept empty #[serde()] attribute (#​2422)

v1.0.158

Compare Source

  • Fix "expected serde crate attribute to be a string" error when using macro_rules metavariable inside of serde attribute: #[serde(crate = $serde_path)] (#​2409)

v1.0.157

Compare Source

  • Update syn dependency to 2.x

v1.0.156

Compare Source

  • Documentation improvements

v1.0.155

Compare Source

  • Support Serialize and Deserialize impls for core::ffi::CStr and alloc::ffi::CString without "std" feature (#​2374, thanks @​safarir)

v1.0.154

Compare Source

  • Fix "undeclared lifetime" error in generated code when deriving Deserialize for an enum with both flatten and 'static fields (#​2383, thanks @​Mingun)

v1.0.153

Compare Source

  • Support serde(alias = "…") attribute used inside of flattened struct (#​2387, thanks @​bebecue)

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.


  • 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 changed the title Update Rust crate serde to 1.0.188 Update Rust crate serde to 1.0.189 Oct 14, 2023
@renovate renovate bot changed the title Update Rust crate serde to 1.0.189 Update Rust crate serde to 1.0.190 Oct 27, 2023
@renovate renovate bot changed the title Update Rust crate serde to 1.0.190 Update Rust crate serde to 1.0.192 Nov 7, 2023
@renovate renovate bot changed the title Update Rust crate serde to 1.0.192 Update Rust crate serde to 1.0.193 Nov 21, 2023
@renovate renovate bot changed the title Update Rust crate serde to 1.0.193 Update Rust crate serde to 1.0.194 Jan 3, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch 2 times, most recently from cfa8ce1 to 44cdd44 Compare January 6, 2024 17:43
@renovate renovate bot changed the title Update Rust crate serde to 1.0.194 Update Rust crate serde to 1.0.195 Jan 6, 2024
@renovate renovate bot changed the title Update Rust crate serde to 1.0.195 Update Rust crate serde to 1.0.196 Jan 27, 2024
@renovate renovate bot changed the title Update Rust crate serde to 1.0.196 Update Rust crate serde to 1.0.197 Feb 20, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from d813e3c to 4936ad6 Compare April 17, 2024 00:00
@renovate renovate bot changed the title Update Rust crate serde to 1.0.197 Update Rust crate serde to 1.0.198 Apr 17, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from 4936ad6 to b29c615 Compare April 27, 2024 23:56
@renovate renovate bot changed the title Update Rust crate serde to 1.0.198 Update Rust crate serde to 1.0.199 Apr 27, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from b29c615 to d45b3ac Compare May 2, 2024 17:10
@renovate renovate bot changed the title Update Rust crate serde to 1.0.199 Update Rust crate serde to 1.0.200 May 2, 2024
@renovate renovate bot changed the title Update Rust crate serde to 1.0.200 Update Rust crate serde to v1.0.200 May 5, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from d45b3ac to a726194 Compare May 10, 2024 11:55
@renovate renovate bot changed the title Update Rust crate serde to v1.0.200 Update Rust crate serde to v1.0.201 May 10, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from a726194 to 7f1263e Compare May 22, 2024 20:51
@renovate renovate bot changed the title Update Rust crate serde to v1.0.201 Update Rust crate serde to v1.0.202 May 22, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.202 Update Rust crate serde to v1.0.203 May 26, 2024
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from 7f1263e to 60416d1 Compare May 26, 2024 02:38
@renovate renovate bot force-pushed the renovate/serde-monorepo branch from 60416d1 to 7ea14b8 Compare July 7, 2024 08:44
@renovate renovate bot changed the title Update Rust crate serde to v1.0.203 Update Rust crate serde to v1.0.204 Jul 7, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.204 Update Rust crate serde to v1.0.205 Aug 10, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.205 Update Rust crate serde to v1.0.206 Aug 12, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.206 Update Rust crate serde to v1.0.207 Aug 13, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.207 Update Rust crate serde to v1.0.208 Aug 16, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.208 Update Rust crate serde to v1.0.209 Aug 24, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.209 Update Rust crate serde to v1.0.210 Sep 8, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.210 Update Rust crate serde to v1.0.213 Oct 23, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.213 Update Rust crate serde to v1.0.214 Oct 29, 2024
@renovate renovate bot changed the title Update Rust crate serde to v1.0.214 Update Rust crate serde to v1.0.215 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants