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
Update to 2018 edition
v1.0.179
Support serialization of tuple variants inside a flattened field (#2448, thanks @Mingun)
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 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
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
Restore missing LICENSE files in serde_derive crate (#2527, thanks @ankane)
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 a serde(flatten) field (#2436, thanks @Mingun)
Allow larger preallocated capacity for smaller elements (#2494)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps serde from 1.0.167 to 1.0.181.
Release notes
Sourced from serde's releases.
Commits
57dc0ee
Release 1.0.1815e102c4
Relocate private size_hint module4aa5422
Delete double reference when setting up adjacently tagged variant seedef4f860
Improve "expecting" message of adjacently tagged enum variant9bd52ec
Inline AdjacentlyTaggedEnumVariant::new5cdd82d
Remove Serializer from name of private type that is not a Serializer110bf10
Condense AdjacentlyTaggedEnummVariantVisitor implementation43035f6
Merge pull request #2505 from Baptistemontan/rework_adjacently_tagged_enum83b1a3d
Merge pull request #2443 from Mingun/deserialize-in-place878110a
Simplify code after dead code eliminationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)