From 78b7bc089b402b7f8de2c6f2180b77b591477f16 Mon Sep 17 00:00:00 2001 From: Mingun Date: Tue, 15 Aug 2023 22:15:38 +0500 Subject: [PATCH] Restore compatibility with serde >=1.0.181 --- Cargo.toml | 3 +-- Changelog.md | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1f871430..73a9a9f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,8 +16,7 @@ include = ["src/*", "LICENSE-MIT.md", "README.md"] [dependencies] document-features = { version = "0.2", optional = true } encoding_rs = { version = "0.8", optional = true } -# FIXME: remove upper bound when https://github.com/tafia/quick-xml/issues/630 is resolved -serde = { version = ">=1.0.100,<1.0.181", optional = true } +serde = { version = ">=1.0.100", optional = true } tokio = { version = "1.10", optional = true, default-features = false, features = ["io-util"] } memchr = "2.1" arbitrary = { version = "1", features = ["derive"], optional = true } diff --git a/Changelog.md b/Changelog.md index aa9ecb9b..8de5fa4e 100644 --- a/Changelog.md +++ b/Changelog.md @@ -12,6 +12,9 @@ MSRV bumped to 1.56! Crate now uses Rust 2021 edition. +Enum representation was changed (it was buggy anyway) to ensure compatibility with +serde >= 1.0.181 + ### New Features - [#545]: Resolve well-known namespaces (`xml` and `xmlns`) to their appropriate URIs. @@ -40,11 +43,13 @@ MSRV bumped to 1.56! Crate now uses Rust 2021 edition. (and newly added `ElementWriter::write_inner_content_async` of course). - [#662]: Get rid of some allocations during serde deserialization. - [#665]: Improve serialization of `xs:list`s when some elements serialized to an empty string. +- [#630]: Fixed compatibility with serde >= 1.0.181 [#545]: https://github.com/tafia/quick-xml/pull/545 [#567]: https://github.com/tafia/quick-xml/issues/567 [#580]: https://github.com/tafia/quick-xml/issues/580 [#619]: https://github.com/tafia/quick-xml/issues/619 +[#630]: https://github.com/tafia/quick-xml/issues/630 [#635]: https://github.com/tafia/quick-xml/pull/635 [#643]: https://github.com/tafia/quick-xml/pull/643 [#649]: https://github.com/tafia/quick-xml/pull/646