fix(deps): update serde packages #555
Merged
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.2001.0->1.0.116Release Notes
serde-rs/serde (serde)
v1.0.200Compare Source
v1.0.199Compare Source
forward_to_deserialize_any!is used on an enum withErrorvariant (#2732, thanks @aatifsyed)v1.0.198Compare Source
Saturating<T>(#2709, thanks @jbethune)v1.0.197Compare Source
v1.0.196Compare Source
v1.0.195Compare Source
v1.0.194Compare Source
v1.0.193Compare Source
RangeFromandRangeTo(#2653, #2654, #2655, thanks @emilbonnek)v1.0.192Compare Source
v1.0.191Compare Source
v1.0.190Compare Source
v1.0.189Compare Source
v1.0.188Compare Source
v1.0.187Compare Source
v1.0.186Compare Source
serde_deriveandserdein the dependency graph (#2588, thanks @soqb)v1.0.185Compare Source
*selfwhich is behind a shared reference" deriving Serialize on a non_exhaustive enum (#2591)v1.0.184Compare Source
serde_derivebuild on all platforms — eventually we'd like to use a first-class precompiled macro if such a thing becomes supported by cargo / crates.iov1.0.183Compare Source
Box<OsStr>with an equivalent representation asOsString(#2556, thanks @DBLouis)v1.0.182Compare Source
serde(default)on tuple structs (#2553, thanks @Mingun)v1.0.181Compare Source
serde(alias)work in combination withflattenwhen using in-place deserialization (#2443, thanks @Mingun)v1.0.180Compare Source
v1.0.179Compare Source
v1.0.178Compare Source
v1.0.177Compare Source
serde(rename_all_fields = "...")attribute to apply arename_allon every struct variant of an enum (#1695, thanks @jplatte)v1.0.176Compare Source
v1.0.175Compare Source
v1.0.174Compare Source
v1.0.173Compare Source
bitflagscrate (#2516)v1.0.172Compare Source
v1.0.171Compare Source
derive(Deserialize)on unit structs that have const generics (#2500, thanks @Baptistemontan)v1.0.170Compare Source
v1.0.169Compare Source
v1.0.168Compare Source
serde::de::IgnoredAnyto be the type for aserde(flatten)field (#2436, thanks @Mingun)v1.0.167Compare Source
RangeFromandRangeTo(#2471, thanks @tbu-)v1.0.166Compare Source
no-alloccategory to crates.io metadatav1.0.165Compare Source
serde(skip_deserializing)attributes (#2466, thanks @Mingun)-Zminimal-versionsbuildv1.0.164Compare Source
v1.0.163Compare Source
v1.0.162Compare Source
Support deserializing flattened adjacently tagged enums from data formats which represent fields as bytes, such as the
csvcrate (#2377, thanks @mfro)v1.0.161Compare Source
v1.0.160Compare Source
doc(hidden)(#2426, thanks @compiler-errors)v1.0.159Compare Source
v1.0.158Compare Source
#[serde(crate = $serde_path)](#2409)v1.0.157Compare Source
v1.0.156Compare Source
v1.0.155Compare Source
SerializeandDeserializeimpls forcore::ffi::CStrandalloc::ffi::CStringwithout "std" feature (#2374, thanks @safarir)v1.0.154Compare Source
flattenand'staticfields (#2383, thanks @Mingun)v1.0.153Compare Source
serde(alias = "…")attribute used inside of flattened struct (#2387, thanks @bebecue)v1.0.152Compare Source
v1.0.151Compare Source
serde::{ser,de}::StdErrorto re-exportcore::error::Errorwhen serde is built withfeature="std"off andfeature="unstable"on (#2344)v1.0.150Compare Source
Serializeimpl ofHashMapandBTreeMap(#2334)SerializeandDeserializeimpls ofstd::sync::atomictypes on more platforms (#2337, thanks @badboy)v1.0.149Compare Source
Serializeimpl ofBinaryHeap,BTreeSet, andHashSet(#2333, thanks @jonasbb)v1.0.148Compare Source
remotederive for generic types that have private fields (#2327)v1.0.147Compare Source
serde::de::value::EnumAccessDeserializerwhich transforms anEnumAccessinto aDeserializer(#2305)v1.0.146Compare Source
v1.0.145Compare Source
Sized(#2282, thanks @ChayimFriedman2)v1.0.144Compare Source
v1.0.143Compare Source
v1.0.142Compare Source
v1.0.141Compare Source
no-stdcategory to crates.io metadatav1.0.140Compare Source
v1.0.139Compare Source
newconstructor function for allIntoDeserializerimpls (#2246)v1.0.138Compare Source
v1.0.137Compare Source
rust-versionof serde and serde_test (#2168)v1.0.136Compare Source
Visitorfails to deserialize a u128 or i128 (#2167)v1.0.135Compare Source
v1.0.134Compare Source
v1.0.133Compare Source
flattenfields ortagoruntaggedenums (#2148)v1.0.132Compare Source
std::sync::atomic::{AtomicI64, AtomicU64}on riscv64 arch (#2141, thanks @Avimitin)v1.0.131Compare Source
unused_resultsbeing triggered in generated code for adjacently tagged enum (#2116, thanks @tyranron)v1.0.130Compare Source
MapAccessandSeqAccessimpl for reference to a dynamically sized existing impl (#2081)v1.0.129Compare Source
v1.0.128Compare Source
v1.0.127Compare Source
v1.0.126Compare Source
forbid(future_incompatible)lint setting in generated code (#2026, thanks @hyd-dev)v1.0.125Compare Source
Ipv4Addr(#2001, thanks @saethlin)v1.0.124Compare Source
SystemTime(#1997, thanks @cyang1)v1.0.123Compare Source
Selfkeywords in fields of types that derive Deserialize (#1830, thanks @taiki-e)Selfinside fields that use serialize_with (#1970)v1.0.122Compare Source
Add IntoDeserializer impl for &[u8] (#1898, thanks @Mingun)
Handle unrecognized numeric field keys during deserialization of a field_identifier, equivalently to string field keys (#1914, thanks @Mingun)
Add attribute to override default deserialization failure expectation message (#1916, thanks @Mingun)
Improve
serde_testhandling of map entries and error message construction (#1918, thanks @Mingun)Produce more accurate location information on test failures from
serde_testcrate (#1920, thanks @Mingun)Improve diagnostic on failure to parse a
rename_allattribute (#1960, #1961)Eliminate unnecessary trait bounds on some value Deserializer impls (#1963)
v1.0.121Compare Source
Durationwith nanoseconds that cause the seconds counter to overflow (#1958, thanks @jonasbb)v1.0.120Compare Source
v1.0.119Compare Source
v1.0.118Compare Source
v1.0.117Compare Source
v1.0.116Compare Source
v1.0.115Compare Source
#[serde(flatten)]on a field whose type is a type parameter and concrete type is()(#1873)v1.0.114Compare Source
packedrepr matching to support deriving Serialize for structs havingrepr(C, packed)(#1813, thanks @TannerRogalsky)v1.0.113Compare Source
v1.0.112Compare Source
serde(flatten)on map types where the Serializer only works with serialize_entry (#1837)v1.0.111Compare Source
#[derive(Deserialize)] struct S<'a> { field: $field }(#1821)v1.0.110Compare Source
repr(packed)struct (#1791, thanks @alvardes)v1.0.109Compare Source
Optionto omit the content field when deserializing (#1553, #1706, thanks @zth0)v1.0.108Compare Source
Provide a
Serializerimpl that can write primitives and unit variants to a&mut fmt::Formatter(#1705, thanks @jethrogb)v1.0.107Compare Source
serde(skip)andserde(other)in the same enum (#1804)v1.0.106Compare Source
v1.0.105Compare Source
Cowtypes (#1754, thanks @maciejhirsz)v1.0.104Compare Source
!to account for https://github.com/rust-lang/rust/pull/67224v1.0.103Compare Source
v1.0.102Compare Source
PathBuffrom bytes like&Pathalready did, and support deserializingBox<Path>(#1656, thanks @heftig)v1.0.101Compare Source
Report errors on malformed serde attributes, like
#[serde(rename =)]-- the compiler used to reject these itself, but when the compiler relaxed its requirements on attribute syntax these malformed attributes began silently being ignored by serde_deriveEliminate unused variable warning when using skip_serializing inside a tuple variant of an adjacently tagged enum (#1617, thanks @arilotter)
Support skip attribute inside of newtype variants (#1622, thanks @Xaeroxe)
v1.0.100Compare Source
Provide
serde::ser::StdErrorandserde::de::StdErrorwhich are either a re-export ofstd::error::Error(if Serde's "std" feature is enabled) or a new identical trait (otherwise).Serde's error traits
serde::ser::Errorandserde::de::Errorrequirestd::error::Erroras a supertrait, but only when Serde is built with "std" enabled. Data formats that don't care about no_std support should generally provide their error types with astd::error::Errorimpl directly:Data formats that do support no_std may either have a "std" feature of their own as has been required in the past:
... or else now may provide the std Error impl unconditionally via Serde's re-export:
v1.0.99Compare Source
Update Syn dependency to 1.0.
Note: This raises the minimum required compiler version for serde_derive from rustc 1.15 to rustc 1.31. The minimum required compiler version for serde remains at rustc 1.13.
v1.0.98Compare Source
v1.0.97Compare Source
Introduce
serde(try_from = "...")attribute to derive Deserialize based on a given implementation ofstd::convert::TryFrom(#1526, thanks @fanzeyi)v1.0.96Compare Source
v1.0.95Compare Source
yanked
v1.0.94Compare Source
v1.0.93Compare Source
v1.0.92Compare Source
serde(flatten)in no_std + alloc mode (#1543, thanks @jplatte)v1.0.91Compare Source
v1.0.90Compare Source
Add an attribute
#[serde(crate = "path::to::serde")]which replaces the use ofextern crate serdein the generated code; this is intended for crates that invoke Serde derives from a macro and need to refer toserdethrough their own re-export rather than requiring callers to list Serde in Cargo.toml (#1499, thanks @sgrif)v1.0.89Compare Source
v1.0.88Compare Source
flattenandskip_serializing/skip_deserializingattributes on the same fieldv1.0.87Compare Source
v1.0.86Compare Source
v1.0.85Compare Source
Accept
#[serde(alias = "...")]attribute on fields and variants which allows the same field or variant to be deserialized from any of multiple different names in the input (#1458, thanks @Lymia)v1.0.84Compare Source
v1.0.83Compare Source
Support a
rename_allspecification that applies only to the Serialize impl or only to the Deserialize impl (#1447, thanks @vincascm)Allow serializing struct name inside of structs with named fields (#1448, thanks @motu42)
v1.0.82Compare Source
serde(default)attribute inside of tuple structs and tuple variants (#1442, thanks @tcr)v1.0.81Compare Source
v1.0.80Compare Source
Vec::deserialize_in_placeto deserialize elements in place (#1411)v1.0.79Compare Source
Add
serde(other)variant attribute for deserializing any variant that is not one of the others (#1382)In this internally tagged enum the
MyEnum::Unknownvariant would be produced if the"variant"tag in the input is neither"A"nor"B".This feature is currently limited to externally tagged and adjacently tagged enums in which the
othervariant is a unit variant.v1.0.78Compare Source
v1.0.77Compare Source
v1.0.76Compare Source
NonZeroU128(#1371, thanks @hcpl)v1.0.75Compare Source
-Z minimal-versionsin CI (#1367)v1.0.74Compare Source
v1.0.73Compare Source
v1.0.72Compare Source
default-features = false, features = ["alloc", "rc"]feature combination (#1359, thanks @Pratyush)v1.0.71Compare Source
core::ops::RangeInclusive(#1347, thanks @c410-f3r)core::ops::Rangewhether or not"std"feature is enabled (#1348)v1.0.70Compare Source
--features allocto work with nightly-2018-07-07 (#1335)v1.0.69Compare Source
use_extern_macros(https://github.com/rust-lang/rust/pull/51496)v1.0.68Compare Source
v1.0.67Compare Source
v1.0.66Compare Source
!(#544, unstable)v1.0.65Compare Source
v1.0.64Compare Source
v1.0.63Compare Source
v1.0.62Compare Source
IntoDeserializerfor i128 and u128 (#1280)v1.0.61Compare Source
v1.0.60Compare Source
v1.0.59Compare Source
serde(transparent)container attribute to indicate that a struct serializes and deserializes the same as its only field -- analogous torepr(transparent)(#1054)v1.0.58Compare Source
v1.0.57Compare Source
NonZero<T>which has been removed from the most recent nightly compiler (#1265)v1.0.56Compare Source
Configuration
📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.