From a239f5c189cd858b443cdab3c2ad7b54efe14cbd Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Thu, 16 Mar 2023 19:55:57 +0000 Subject: [PATCH] Update Rust crate quick-xml to 0.28.0 (#1818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [quick-xml](https://github.com/tafia/quick-xml) | dependencies | minor | `0.27.1` -> `0.28.0` | --- ### Release Notes
tafia/quick-xml ### [`v0.28.0`](https://github.com/tafia/quick-xml/blob/HEAD/Changelog.md#​0280----2023-03-13) [Compare Source](https://github.com/tafia/quick-xml/compare/v0.27.1...v0.28.0) ##### New Features - [#​541]: (De)serialize specially named `$text` enum variant in [externally tagged] enums to / from textual content - [#​556]: `to_writer` and `to_string` now accept `?Sized` types - [#​556]: Add new `to_writer_with_root` and `to_string_with_root` helper functions - [#​520]: Add methods `BytesText::inplace_trim_start` and `BytesText::inplace_trim_end` to trim leading and trailing spaces from text events - [#​565]: Allow deserialize special field names `$value` and `$text` into borrowed fields when use serde deserializer - [#​568]: Rename `Writter::inner` into `Writter::get_mut` - [#​568]: Add method `Writter::get_ref` - [#​569]: Rewrite the `Reader::read_event_into_async` as an async fn, making the future `Send` if possible. - [#​571]: Borrow element names (``) when deserialize with serde. This change allow to deserialize into `HashMap<&str, T>`, for example - [#​573]: Add basic support for async byte writers via tokio's `AsyncWrite`. ##### Bug Fixes - [#​537]: Restore ability to deserialize attributes that represents XML namespace mappings (`xmlns:xxx`) that was broken since [#​490] - [#​510]: Fix an error of deserialization of `Option` fields where `T` is some sequence type (for example, `Vec` or tuple) - [#​540]: Fix a compilation error (probably a rustc bug) in some circumstances. `Serializer::new` and `Serializer::with_root` now accepts only references to `Write`r. - [#​520]: Merge consequent (delimited only by comments and processing instructions) texts and CDATA when deserialize using serde deserializer. `DeEvent::Text` and `DeEvent::CData` events was replaced by `DeEvent::Text` with merged content. The same behavior for the `Reader` does not implemented (yet?) and should be implemented manually - [#​562]: Correctly set minimum required version of memchr dependency to 2.1 - [#​565]: Correctly set minimum required version of tokio dependency to 1.10 - [#​565]: Fix compilation error when build with serde <1.0.139 [externally tagged]: https://serde.rs/enum-representations.html#externally-tagged [#​490]: https://github.com/tafia/quick-xml/pull/490 [#​510]: https://github.com/tafia/quick-xml/issues/510 [#​520]: https://github.com/tafia/quick-xml/pull/520 [#​537]: https://github.com/tafia/quick-xml/issues/537 [#​540]: https://github.com/tafia/quick-xml/issues/540 [#​541]: https://github.com/tafia/quick-xml/pull/541 [#​556]: https://github.com/tafia/quick-xml/pull/556 [#​562]: https://github.com/tafia/quick-xml/pull/562 [#​565]: https://github.com/tafia/quick-xml/pull/565 [#​568]: https://github.com/tafia/quick-xml/pull/568 [#​569]: https://github.com/tafia/quick-xml/pull/569 [#​571]: https://github.com/tafia/quick-xml/pull/571 [#​573]: https://github.com/tafia/quick-xml/pull/573
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: cabr2-bot Co-authored-by: crapStone Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1818 Reviewed-by: crapStone Co-authored-by: Calciumdibromid Bot Co-committed-by: Calciumdibromid Bot --- crates/load_save/Cargo.toml | 2 +- crates/search/Cargo.toml | 2 +- frontend/src-tauri/Cargo.lock | 13 +++++++++++-- frontend/src-wasm/Cargo.lock | 4 ++-- webserver/Cargo.lock | 4 ++-- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index f7373f6f2..03cc7ba21 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -16,7 +16,7 @@ handlebars = { version = "4.3.6", optional = true } lazy_static = "1.4.0" log = "0.4.17" lopdf = { version = "0.29.0", optional = true } -quick-xml = { version = "0.27.1", features = ["serialize"], optional = true } +quick-xml = { version = "0.28.0", features = ["serialize"], optional = true } regex = { version = "1.7.1", optional = true } serde = { version = "1.0.156", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index 7e4cf8d44..1c00dca16 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -17,7 +17,7 @@ env_logger = { version = "0.10.0", optional = true } futures = { version = "0.3.27", optional = true } lazy_static = "1.4.0" log = "0.4.17" -quick-xml = { version = "0.27.1", optional = true, features = ["serialize"] } +quick-xml = { version = "0.28.0", optional = true, features = ["serialize"] } regex = { version = "1.7.1", optional = true } reqwest = { version = "0.11.14", features = ["deflate", "gzip", "json", "native-tls"], default-features = false, optional = true } serde = { version = "1.0.156", features = ["derive"] } diff --git a/frontend/src-tauri/Cargo.lock b/frontend/src-tauri/Cargo.lock index 0b2493c66..2bcbe2633 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -1691,7 +1691,7 @@ dependencies = [ "lazy_static", "log", "lopdf", - "quick-xml 0.27.1", + "quick-xml 0.28.0", "regex", "serde", "serde_json", @@ -2468,6 +2468,15 @@ name = "quick-xml" version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffc053f057dd768a56f62cd7e434c42c831d296968997e9ac1f76ea7c2d14c41" +dependencies = [ + "memchr", +] + +[[package]] +name = "quick-xml" +version = "0.28.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a306703b4ad75d304a1bbc17d91d4399993caa163ad5028ffb044e5152ffcdd" dependencies = [ "memchr", "serde", @@ -2780,7 +2789,7 @@ dependencies = [ "error-ser", "lazy_static", "log", - "quick-xml 0.27.1", + "quick-xml 0.28.0", "regex", "reqwest", "serde", diff --git a/frontend/src-wasm/Cargo.lock b/frontend/src-wasm/Cargo.lock index c49816884..88e2a479d 100644 --- a/frontend/src-wasm/Cargo.lock +++ b/frontend/src-wasm/Cargo.lock @@ -742,9 +742,9 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc053f057dd768a56f62cd7e434c42c831d296968997e9ac1f76ea7c2d14c41" +checksum = "7a306703b4ad75d304a1bbc17d91d4399993caa163ad5028ffb044e5152ffcdd" dependencies = [ "memchr", "serde", diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index bb2373f37..86ec8475a 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1199,9 +1199,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-xml" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc053f057dd768a56f62cd7e434c42c831d296968997e9ac1f76ea7c2d14c41" +checksum = "7a306703b4ad75d304a1bbc17d91d4399993caa163ad5028ffb044e5152ffcdd" dependencies = [ "memchr", "serde",