From 4350e84f8128c40e6379f9c1d41e2a59d2f691d1 Mon Sep 17 00:00:00 2001 From: Ron Waldon-Howe Date: Sat, 30 Nov 2024 11:49:31 +1100 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20the=20quick-xml=20crate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This crate offers a serde-compatible Deserializer for XML data --- Cargo.lock | 15 +++++++++++++-- Cargo.toml | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8280520..ff3fd0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -199,6 +199,7 @@ dependencies = [ "futures-util", "nix", "ntest", + "quick-xml", "rand", "serde", "tokio", @@ -991,6 +992,16 @@ dependencies = [ "prost", ] +[[package]] +name = "quick-xml" +version = "0.36.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" +dependencies = [ + "memchr", + "serde", +] + [[package]] name = "quote" version = "1.0.36" @@ -1419,9 +1430,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "matchers", "nu-ansi-term", diff --git a/Cargo.toml b/Cargo.toml index ca5bf6f..82f214d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,7 @@ console-subscriber = { version = "0.4.0", optional = true } xdg-home = "1.1.0" event-listener = "5.3.0" fastrand = "2.2.0" +quick-xml = { version = "0.36.2", features = ["serialize"] } [target.'cfg(unix)'.dependencies] nix = { version = "0.29.0", features = ["user"] }