fix(deps): update serde packages #73
Open
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
1.0.136
->1.0.226
0.8
->0.9
Release Notes
serde-rs/serde (serde)
v1.0.226
Compare Source
v1.0.225
Compare Source
v1.0.224
Compare Source
v1.0.223
Compare Source
v1.0.222
Compare Source
serialize_with
attribute produce code that works if respanned to 2024 edition (#2950, thanks @aytey)v1.0.221
Compare Source
serde_if_integer128!
macro (#2975)v1.0.220
Compare Source
v1.0.219
Compare Source
absolute_paths
Clippy restriction being triggered inside macro-generated code (#2906, thanks @davidzeng0)v1.0.218
Compare Source
v1.0.217
Compare Source
v1.0.216
Compare Source
v1.0.215
Compare Source
v1.0.214
Compare Source
v1.0.213
Compare Source
with
attributes inside a newtype struct (#2847)v1.0.212
Compare Source
v1.0.211
Compare Source
with
anddefault
attributes (#2558, thanks @Mingun)v1.0.210
Compare Source
IpAddr
andSocketAddr
in no-std mode on Rust 1.77+ (#2816, thanks @MathiasKoch)serde::ser::StdError
andserde::de::StdError
equivalent tocore::error::Error
on Rust 1.81+ (#2818)v1.0.209
Compare Source
v1.0.208
Compare Source
flatten
field (#2802, thanks @jonhoo)v1.0.207
Compare Source
flatten
attribute andskip_serializing
/skip_deserializing
(#2795, thanks @Mingun)v1.0.206
Compare Source
flatten
attribute inside of enums (#2567, thanks @Mingun)v1.0.205
Compare Source
v1.0.204
Compare Source
v1.0.203
Compare Source
v1.0.202
Compare Source
v1.0.201
Compare Source
v1.0.200
Compare Source
v1.0.199
Compare Source
forward_to_deserialize_any!
is used on an enum withError
variant (#2732, thanks @aatifsyed)v1.0.198
Compare Source
Saturating<T>
(#2709, thanks @jbethune)v1.0.197
Compare Source
v1.0.196
Compare Source
v1.0.195
Compare Source
v1.0.194
Compare Source
v1.0.193
Compare Source
RangeFrom
andRangeTo
(#2653, #2654, #2655, thanks @emilbonnek)v1.0.192
Compare Source
v1.0.191
Compare Source
v1.0.190
Compare Source
v1.0.189
Compare Source
v1.0.188
Compare Source
v1.0.187
Compare Source
v1.0.186
Compare Source
serde_derive
andserde
in the dependency graph (#2588, thanks @soqb)v1.0.185
Compare Source
*self
which is behind a shared reference" deriving Serialize on a non_exhaustive enum (#2591)v1.0.184
Compare 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.iov1.0.183
Compare Source
Box<OsStr>
with an equivalent representation asOsString
(#2556, thanks @DBLouis)v1.0.182
Compare Source
serde(default)
on tuple structs (#2553, thanks @Mingun)v1.0.181
Compare Source
serde(alias)
work in combination withflatten
when using in-place deserialization (#2443, thanks @Mingun)v1.0.180
Compare Source
v1.0.179
Compare Source
v1.0.178
Compare Source
v1.0.177
Compare Source
serde(rename_all_fields = "...")
attribute to apply arename_all
on every struct variant of an enum (#1695, thanks @jplatte)v1.0.176
Compare Source
v1.0.175
Compare Source
v1.0.174
Compare Source
v1.0.173
Compare Source
bitflags
crate (#2516)v1.0.172
Compare Source
v1.0.171
Compare Source
derive(Deserialize)
on unit structs that have const generics (#2500, thanks @Baptistemontan)v1.0.170
Compare Source
v1.0.169
Compare Source
v1.0.168
Compare Source
serde::de::IgnoredAny
to be the type for aserde(flatten)
field (#2436, thanks @Mingun)v1.0.167
Compare Source
RangeFrom
andRangeTo
(#2471, thanks @tbu-)v1.0.166
Compare Source
no-alloc
category to crates.io metadatav1.0.165
Compare Source
serde(skip_deserializing)
attributes (#2466, thanks @Mingun)-Zminimal-versions
buildv1.0.164
Compare Source
v1.0.163
Compare Source
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)v1.0.161
Compare Source
v1.0.160
Compare Source
doc(hidden)
(#2426, thanks @compiler-errors)v1.0.159
Compare Source
v1.0.158
Compare Source
#[serde(crate = $serde_path)]
(#2409)v1.0.157
Compare Source
v1.0.156
Compare Source
v1.0.155
Compare Source
Serialize
andDeserialize
impls forcore::ffi::CStr
andalloc::ffi::CString
without "std" feature (#2374, thanks @safarir)v1.0.154
Compare Source
flatten
and'static
fields (#2383, thanks @Mingun)v1.0.153
Compare Source
serde(alias = "…")
attribute used inside of flattened struct (#2387, thanks @bebecue)v1.0.152
Compare Source
v1.0.151
Compare Source
serde::
{ser
,de
}::StdError
to re-exportcore::error::Error
when serde is built withfeature="std"
off andfeature="unstable"
on (#2344)v1.0.150
Compare Source
Serialize
impl ofHashMap
andBTreeMap
(#2334)Serialize
andDeserialize
impls ofstd::sync::atomic
types on more platforms (#2337, thanks @badboy)v1.0.149
Compare Source
Serialize
impl ofBinaryHeap
,BTreeSet
, andHashSet
(#2333, thanks @jonasbb)v1.0.148
Compare Source
remote
derive for generic types that have private fields (#2327)v1.0.147
Compare Source
serde::de::value::EnumAccessDeserializer
which transforms anEnumAccess
into aDeserializer
(#2305)v1.0.146
Compare Source
v1.0.145
Compare Source
Sized
(#2282, thanks @ChayimFriedman2)v1.0.144
Compare Source
v1.0.143
Compare Source
v1.0.142
Compare Source
v1.0.141
Compare Source
no-std
category to crates.io metadatav1.0.140
Compare Source
v1.0.139
Compare Source
new
constructor function for allIntoDeserializer
impls (#2246)v1.0.138
Compare Source
v1.0.137
Compare Source
rust-version
of serde and serde_test (#2168)dtolnay/serde-yaml (serde_yaml)
v0.9.34
Compare Source
As of this release, I am not planning to publish further versions of
serde_yaml
as none of my projects have been using YAML for a long time, so I have archived the GitHub repo and marked the crate deprecated in the version number. An official replacement isn't designated for those who still need to work with YAML, but https://crates.io/search?q=yaml&sort=relevance and https://crates.io/keywords/yaml has a number of reasonable-looking options available.v0.9.33
Compare Source
v0.9.32
Compare Source
v0.9.31
Compare Source
swap_remove
andshift_remove
methods on Mapping (#408)v0.9.30
Compare Source
v0.9.29
Compare Source
deny(unsafe_op_in_unsafe_fn)
lintv0.9.28
Compare Source
unsafe-libyaml
dependency to pull in unaligned write fixv0.9.27
Compare Source
v0.9.26
Compare Source
.nan
is deserialized as a positive NaN (#392, #393)v0.9.25
Compare Source
v0.9.24
Compare Source
v0.9.23
Compare Source
v0.9.22
Compare Source
v0.9.21
Compare Source
Tag::new
panic if given empty string, since YAML has no syntax for an empty tagv0.9.20
Compare Source
None
orValue::Null
, in addition to the previously supported empty vector, empty map, and struct with no required fieldsv0.9.19
Compare Source
Display
andsource()
(#359, #360)v0.9.18
Compare Source
v0.9.17
Compare Source
v0.9.16
Compare Source
-Zrustdoc-scrape-examples
on docs.rs for nowv0.9.15
Compare Source
v0.9.14
Compare Source
Deserializer
forTaggedValue
and&TaggedValue
(#339)v0.9.13
Compare Source
True
,TRUE
,False
,FALSE
as booleans,Null
,NULL
as null (#330)v0.9.12
Compare Source
Support deserializing tagged literal scalar into primitive (#327)
v0.9.11
Compare Source
v0.9.10
Compare Source
Display
forNumber
produce the same representation as serializing (#316)v0.9.9
Compare Source
v0.9.8
Compare Source
TaggedValue
when used withto_value
(#313)v0.9.7
Compare Source
v0.9.6
Compare Source
v0.9.5
Compare Source
Display
trait forserde_yaml::value::Tag
(#307, thanks @masinc)v0.9.4
Compare Source
serde_yaml::with::singleton_map
for serialization of enums as a 1-entry map (#300)Mapping
orValue
(#301)v0.9.3
Compare Source
v0.9.2
Compare Source
Debug
representation ofserde_yaml::Error
v0.9.1
Compare Source
v0.9.0
Compare Source
API documentation: https://docs.rs/serde_yaml/0.9
Highlights
The
serde_yaml::Value
enum gains aTagged
variant which represents the deserialization of YAML's!Tag
syntax. Tagged scalars, sequences, and mappings are all supported.An empty YAML input (or document containing only comments) will deserialize successfully to an empty map, empty sequence, or Serde struct as long as the struct has only optional fields. Previously this would error.
A new
.apply_merge()
method onValue
implements YAML's<<
merge key convention.The
Debug
representation ofserde_yaml::Value
has gotten vastly better (#287).Deserialization of borrowed strings now works.
Value
's andMapping
's methodsget
andget_mut
have been generalized to support a &str argument, as opposed to requiring you to allocate and construct aValue::String
for indexing into another existingValue
.Mapping
exposes more APIs that have become conventional on map data structures, such as.keys()
,.values()
,.into_keys()
,.into_values()
,.values_mut()
, and.retain(|k, v| …)
.Breaking changes
Serialization no longer produces leading
---\n
on the serialized output. You can prepend this yourself if your use case demands it.Serialization of enum variants is now based on YAML's
!Tag
syntax, rather than JSON-style singleton maps.A bunch of non-base-10 edge cases in number parsing have been resolved. For example
0x+1
and++0x1
are now parsed as strings, whereas they used to be incorrectly treated as numbers.Deserializers obtained through iteration can no longer be iterated further:
The abandoned yaml-rust crate is no longer used as the YAML backend. The new libyaml-based backend surely has different edge cases and quirks than yaml-rust.
Some excessive
PartialEq
impls have been eliminated.The
serde_yaml::to_vec
function has been removed. Useserde_yaml::to_writer
for doing I/O, or useserde_yaml::to_string
+.into_bytes()
on the resulting String.The
serde_yaml::seed
module has been removed. Now that aserde_yaml::Deserializer
is publicly available, the same use cases can be addressed viaseed.deserialize(Deserializer::from_str(…))
instead.Bugfixes
Empty values in a mapping are supported, and deserialize to empty string when the corresponding struct field is of type string. Previously they would deserialize to "~" which makes no sense.
128-bit integer deserialization now supports hex and octal input.
Serde_yaml now includes a mitigation against a "billion laughs" attack in which malicious input involving YAML anchors and aliases is used to consume an amount of processing or memory that is exponential in the size of the input document. Serde_yaml will quickly produce an error in this situation instead.
v0.8.26
Compare Source
flush
method to Serializer (#251, thanks @jturner314-nrl)v0.8.25
Compare Source
v0.8.24
Compare Source
indexmap
/autocfg
not always properly detecting whether astd
sysroot crate is available (#243, thanks @cuviper)Configuration
📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.