Update Rust crate serde to v1.0.202 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
serde (source) | dependencies | patch |
1.0.136 -> 1.0.202
|
Release Notes
serde-rs/serde (serde)
v1.0.202
- Provide public access to RenameAllRules in serde_derive_internals (#2743)
v1.0.201
- Resolve unexpected_cfgs warning (#2737)
v1.0.200
- Fix formatting of "invalid type" and "invalid value" deserialization error messages containing NaN or infinite floats (#2733, thanks @jamessan)
v1.0.199
- Fix ambiguous associated item when
forward_to_deserialize_any!
is used on an enum withError
variant (#2732, thanks @aatifsyed)
v1.0.198
- Support serializing and deserializing
Saturating<T>
(#2709, thanks @jbethune)
v1.0.197
- Fix unused_imports warnings when compiled by rustc 1.78
- Optimize code size of some Display impls (#2697, thanks @nyurik)
v1.0.196
- Improve formatting of "invalid type" error messages involving floats (#2682)
v1.0.195
- Prevent remote definitions of tuple struct or tuple variant from triggering dead_code warning (#2671)
v1.0.194
- Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
v1.0.193
- Fix field names used for the deserialization of
RangeFrom
andRangeTo
(#2653, #2654, #2655, thanks @emilbonnek)
v1.0.192
- Allow internal tag field in untagged variant (#2646, thanks @robsdedude)
v1.0.191
- Documentation improvements
v1.0.190
- Preserve NaN sign when deserializing f32 from f64 or vice versa (#2637)
v1.0.189
- Fix "cannot infer type" error when internally tagged enum contains untagged variant (#2613, thanks @ahl)
v1.0.188
- Fix "failed to parse manifest" error when building serde using a Cargo version between 1.45 and 1.50 (#2603)
v1.0.187
- Remove support for Emscripten targets on rustc older than 1.40 (#2600)
v1.0.186
- Disallow incompatible versions of
serde_derive
andserde
in the dependency graph (#2588, thanks @soqb)
v1.0.185
- Fix error "cannot move out of
*self
which is behind a shared reference" deriving Serialize on a non_exhaustive enum (#2591)
v1.0.184
- 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
- Support deserializing
Box<OsStr>
with an equivalent representation asOsString
(#2556, thanks @DBLouis)
v1.0.182
- Render field aliases in sorted order in error messages (#2458, thanks @Mingun)
- Support
serde(default)
on tuple structs (#2553, thanks @Mingun)
v1.0.181
- Make
serde(alias)
work in combination withflatten
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
- Update to 2018 edition
v1.0.179
v1.0.178
- Fix build error when using serde with "std" feature turned off and "unstable" feature turned on (#2541)
v1.0.177
- Add
serde(rename_all_fields = "...")
attribute to apply arename_all
on every struct variant of an enum (#1695, thanks @jplatte) - Improve diagnostics for attribute parse errors (#2536, thanks @jplatte)
v1.0.176
- 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
v1.0.174
- Documentation improvements
v1.0.173
- 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
- Experiment with precompiling the serde_derive macros to reduce build time (#2514)
v1.0.171
- Support
derive(Deserialize)
on unit structs that have const generics (#2500, thanks @Baptistemontan)
v1.0.170
- 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
- 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
- Allow
serde::de::IgnoredAny
to be the type for aserde(flatten)
field (#2436, thanks @Mingun) - Allow larger preallocated capacity for smaller elements (#2494)
v1.0.167
v1.0.166
- Add
no-alloc
category to crates.io metadata
v1.0.165
- 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
- Allowed enum variants to be individually marked as untagged (#2403, thanks @dewert99)
v1.0.163
- Eliminate build script from serde_derive crate to slightly reduce build time (#2442, thanks @taiki-e)
v1.0.162
-
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
v1.0.160
- Make derived serializer/deserializer internals
doc(hidden)
(#2426, thanks @compiler-errors)
v1.0.159
- Accept empty #[serde()] attribute (#2422)
v1.0.158
- 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
- Update syn dependency to 2.x
v1.0.156
- Documentation improvements
v1.0.155
- Support
Serialize
andDeserialize
impls forcore::ffi::CStr
andalloc::ffi::CString
without "std" feature (#2374, thanks @safarir)
v1.0.154
- 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
v1.0.152
- Documentation improvements
v1.0.151
- Update
serde::
{ser
,de
}::StdError
to re-exportcore::error::Error
when serde is built withfeature="std"
off andfeature="unstable"
on (#2344)
v1.0.150
- Relax some trait bounds from the
Serialize
impl ofHashMap
andBTreeMap
(#2334) - Enable
Serialize
andDeserialize
impls ofstd::sync::atomic
types on more platforms (#2337, thanks @badboy)
v1.0.149
- Relax some trait bounds from the
Serialize
impl ofBinaryHeap
,BTreeSet
, andHashSet
(#2333, thanks @jonasbb)
v1.0.148
- Support
remote
derive for generic types that have private fields (#2327)
v1.0.147
- Add
serde::de::value::EnumAccessDeserializer
which transforms anEnumAccess
into aDeserializer
(#2305)
v1.0.146
v1.0.145
- Allow RefCell<T>, Mutex<T>, and RwLock<T> to be serialized regardless of whether T is
Sized
(#2282, thanks @ChayimFriedman2)
v1.0.144
- Change atomic ordering used by Serialize impl of atomic types to match ordering used by Debug impl of those same types (#2263, thanks @taiki-e)
v1.0.143
- Invert build.rs cfgs in serde_test to produce the most modern configuration in the default case (#2253, thanks @taiki-e)
v1.0.142
- Add keywords to crates.io metadata
v1.0.141
- Add
no-std
category to crates.io metadata
v1.0.140
- Invert serde_derive cfgs to convenience non-Cargo builds on a modern toolchain (#2251, thanks @taiki-e)
v1.0.139
- Add
new
constructor function for allIntoDeserializer
impls (#2246)
v1.0.138
- Documentation improvements
v1.0.137
- Update documentation links to some data formats whose repos have moved (#2201, thanks @atouchet)
- Fix declared
rust-version
of serde and serde_test (#2168)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate [bot]