From c7d7074ca4a0fecdd23568e2c1ae107ed8fd5b49 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Sat, 28 May 2022 22:43:10 +0200 Subject: [PATCH] Update Rust crate quick-xml to 0.23.0 (#1377) 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 | patch | `0.23.0-alpha3` -> `0.23.0` | | [quick-xml](https://github.com/tafia/quick-xml) | dependencies | minor | `0.22.0` -> `0.23.0` | --- ### Release Notes
tafia/quick-xml ### [`v0.23.0`](https://github.com/tafia/quick-xml/blob/HEAD/Changelog.md#​0230----2022-05-08) - feat: add support for `i128` / `u128` in attributes or text/CDATA content - test: add tests for malformed inputs for serde deserializer - fix: allow to deserialize `unit`s from any data in attribute values and text nodes - refactor: unify errors when EOF encountered during serde deserialization - test: ensure that after deserializing all XML was consumed - feat: add `Deserializer::from_str`, `Deserializer::from_slice` and `Deserializer::from_reader` - refactor: deprecate `from_bytes` and `Deserializer::from_borrowing_reader` because they are fully equivalent to `from_slice` and `Deserializer::new` - refactor: reduce number of unnecessary copies when deserialize numbers/booleans/identifiers from the attribute and element names and attribute values - fix: allow to deserialize `unit`s from text and CDATA content. `DeError::InvalidUnit` variant is removed, because after fix it is no longer used - fix: `ElementWriter`, introduced in [#​274](https://github.com/tafia/quick-xml/pull/274) (0.23.0-alpha2) now available to end users - fix: allow lowercase `` definition (used in HTML 5) when parse document from `&[u8]` - test: add tests for consistence behavior of buffered and borrowed readers - fix: produce consistent error positions in buffered and borrowed readers - feat: `Error::UnexpectedBang` now provide the byte found - refactor: unify code for buffered and borrowed readers - fix: fix internal panic message when parse malformed XML ([#​344](https://github.com/tafia/quick-xml/issues/344)) - test: add tests for trivial documents (empty / only comment / `...` -- one tag with content) - fix: CDATA was not handled in many cases where it should - fix: do not unescape CDATA content because it never escaped by design. CDATA event data now represented by its own `BytesCData` type ([quick-xml#​311](https://github.com/tafia/quick-xml/issues/311)) - feat: add `Reader::get_ref()` and `Reader::get_mut()`, rename `Reader::into_underlying_reader()` to `Reader::into_inner()` - refactor: now `Attributes::next()` returns a new type `AttrError` when attribute parsing failed ([#​4](https://github.com/Mingun/fast-xml/pull/4)) - test: properly test all paths of attributes parsing ([#​4](https://github.com/Mingun/fast-xml/pull/4)) - feat: attribute iterator now implements `FusedIterator` ([#​4](https://github.com/Mingun/fast-xml/pull/4)) - fix: fixed many errors in attribute parsing using iterator, returned from `attributes()` or `html_attributes()` ([#​4](https://github.com/Mingun/fast-xml/pull/4))
--- ### Configuration 📅 **Schedule**: 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 these updates again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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/1377 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 | 21 ++++++--------------- frontend/src-wasm/Cargo.lock | 21 ++++++--------------- webserver/Cargo.lock | 21 ++++++--------------- 5 files changed, 20 insertions(+), 47 deletions(-) diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index 36d015b14..e1d35adc2 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -18,7 +18,7 @@ handlebars = { version = "4.3.0", optional = true } lazy_static = "1.4.0" log = "0.4.17" lopdf = { version = "0.27.0", optional = true } -quick-xml = { version = "0.22.0", features = ["serialize"], optional = true } +quick-xml = { version = "0.23.0", features = ["serialize"], optional = true } regex = { version = "1.5.6", optional = true } serde = { version = "1.0.137", features = ["derive"] } serde_json = { version = "1.0.81", optional = true } diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index 3814d35a6..d42612c40 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -18,7 +18,7 @@ error-ser = { path = "../error-ser" } futures = { version = "0.3.21", optional = true } lazy_static = "1.4.0" log = "0.4.17" -quick-xml = { version = "0.23.0-alpha3", optional = true } +quick-xml = { version = "0.23.0", optional = true } regex = { version = "1.5.6", optional = true } reqwest = { version = "0.11.10", features = ["json", "native-tls"], default-features = false, optional = true } serde = { version = "1.0.137", features = ["derive"] } diff --git a/frontend/src-tauri/Cargo.lock b/frontend/src-tauri/Cargo.lock index f0a3fc28f..0128df85e 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -1700,7 +1700,7 @@ dependencies = [ "lazy_static", "log", "lopdf", - "quick-xml 0.22.0", + "quick-xml", "regex", "serde", "serde_json", @@ -1833,9 +1833,9 @@ checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00" [[package]] name = "memchr" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "memoffset" @@ -2527,23 +2527,14 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-xml" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533f14c8382aaad0d592c812ac3b826162128b65662331e1127b45c3d18536b" +checksum = "9279fbdacaad3baf559d8cabe0acc3d06e30ea14931af31af79578ac0946decc" dependencies = [ "memchr", "serde", ] -[[package]] -name = "quick-xml" -version = "0.23.0-alpha3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c002cfafa1de674ef8557e3dbf2ad8c03ac8eb3d162672411b1b7fb4d272ef" -dependencies = [ - "memchr", -] - [[package]] name = "quote" version = "0.3.15" @@ -2864,7 +2855,7 @@ dependencies = [ "error-ser", "lazy_static", "log", - "quick-xml 0.23.0-alpha3", + "quick-xml", "regex", "reqwest", "serde", diff --git a/frontend/src-wasm/Cargo.lock b/frontend/src-wasm/Cargo.lock index a2c8d1d09..352869d51 100644 --- a/frontend/src-wasm/Cargo.lock +++ b/frontend/src-wasm/Cargo.lock @@ -405,7 +405,7 @@ dependencies = [ "error-ser", "lazy_static", "log", - "quick-xml 0.22.0", + "quick-xml", "regex", "serde", "serde_json", @@ -430,9 +430,9 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "memchr" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mime" @@ -582,23 +582,14 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533f14c8382aaad0d592c812ac3b826162128b65662331e1127b45c3d18536b" +checksum = "9279fbdacaad3baf559d8cabe0acc3d06e30ea14931af31af79578ac0946decc" dependencies = [ "memchr", "serde", ] -[[package]] -name = "quick-xml" -version = "0.23.0-alpha3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c002cfafa1de674ef8557e3dbf2ad8c03ac8eb3d162672411b1b7fb4d272ef" -dependencies = [ - "memchr", -] - [[package]] name = "quote" version = "1.0.14" @@ -705,7 +696,7 @@ dependencies = [ "error-ser", "lazy_static", "log", - "quick-xml 0.23.0-alpha3", + "quick-xml", "regex", "reqwest", "serde", diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index 6653c15ea..709559ad0 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -743,7 +743,7 @@ dependencies = [ "lazy_static", "log", "lopdf", - "quick-xml 0.22.0", + "quick-xml", "regex", "serde", "serde_json", @@ -807,9 +807,9 @@ checksum = "a3e378b66a060d48947b590737b30a1be76706c8dd7b8ba0f2fe3989c68a853f" [[package]] name = "memchr" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" +checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "mime" @@ -1131,23 +1131,14 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-xml" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8533f14c8382aaad0d592c812ac3b826162128b65662331e1127b45c3d18536b" +checksum = "9279fbdacaad3baf559d8cabe0acc3d06e30ea14931af31af79578ac0946decc" dependencies = [ "memchr", "serde", ] -[[package]] -name = "quick-xml" -version = "0.23.0-alpha3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c002cfafa1de674ef8557e3dbf2ad8c03ac8eb3d162672411b1b7fb4d272ef" -dependencies = [ - "memchr", -] - [[package]] name = "quote" version = "1.0.14" @@ -1331,7 +1322,7 @@ dependencies = [ "error-ser", "lazy_static", "log", - "quick-xml 0.23.0-alpha3", + "quick-xml", "regex", "reqwest", "serde",