👀 While it's loading, feel free to check out the other repositories:
🔔 To get a notification when it's ready, leave your email here:
By entering your email, you agree to receive notifications and marketing-related emails
Filter by reset
Please document how to pretty-print
I see this has been worked on, and the author suggested someone in the community submit a PR to improve documentation. I'm sure someone would happily do that if they knew how!!! The following is what AI helped me figure out, which I don't know if is "the …
tgrushka · 2025-05-17 · 2 · #859
Make BytesCData decode method public
mematthias · 2025-04-26 · 2 · #857
codecov-commenter · 2025-04-26
Simplify Deserializer::peek to avoid unreachable
Use Option::insert which allows getting a reference to the value just inserted into the Option. Unfortunately, we can't simplify this to just Option::get_or_insert_with because we can fail to generate the value to insert (if reader.next() fails).
Dr-Emann · 2025-05-11 · 1 · #860
#[serde(rename = "$value")] for Enum Variants
marcfir · 2025-03-11 · 4 · #847
questionserde
Mingun · 2025-02-26
We should either restrict all invalid characters both in literal form and as character references, or none of them. Disallowing only the one character is inconsistently. Because checking literal forms means that we should decode and check all the input, …
Mingun · 2024-06-05 · 6 · #750
Deserializing to variant vector fields fails
MoSal · 2024-08-06 · 4 · #288
bugserdearrays
cpick · 2021-07-19
Add ability to deserialize serde types from `Reader`
When working with deeply nested xml, most of the time, we are only interested in a portion of the whole tree close to the leaf node. My idea is to extract the string of the target node and deserialize it with serde. But I can't find any convenient way to …
ndtoan96 · 2024-09-01 · 6 · #611
enhancementhelp wantedserde
Deserializing $primitive= gives some problems.
stchysh · 2024-10-08 · 1 · #817
questionserde
Mingun · 2024-10-08
Remove ignored tests which produces warnings since serde 1.0.215
They are never will be implemented anyway. You need to implement deserialization manually if you want two xs:choice fields in your struct.
Mingun · 2024-11-22 · 0 · #833
Fix couple of bugs in serde deserializer
Mingun · 2022-12-12 · 3 · #523
bugserde
codecov-commenter · 2022-12-11
Add a `read_text` implementation for async readers
This adds a read_text_into_async method for Readers which allows writing the content in between nested tags to an arbitrary AsyncWriter , analogous to Reader::read_text and NsReader::read_text respectively.
BitSyndicate1 · 2025-04-22 · 0 · #856
Resolve "xs:list deserialization does not split on all whitespace"
JGM01 · 2025-02-02 · 1 · #843
codecov-commenter · 2025-02-02
Update maybe_xml dependency 0.3 -> 0.6
maybe_xml is still about 1.5x--2x faster that quick-xml in most tests, except those: rpm_other linescore test_writer_ident players Here is criterion report: comparison.zip
Mingun · 2023-10-17 · 1 · #668
XML deserializate failed when text contains `&()_+-=;`
Xuanwo · 2024-02-28 · 6 · #719
questionserde
Mingun · 2024-02-27
I'm looking through the AttrError and noticed several references to iteration/parsing modes This error can be raised only when the iterator is in XML mode. ...depending on the parsing mode. I'm curious how this can be done. I've tried searching through …
noahbald · 2024-04-20 · 2 · #735
question
ajtribick · 2021-08-11 · 3 · #259
tafia · 2021-02-08
Fix: the `serialize` feature should also enable `serde/derive`
In master/last release serialize feature implicitly depends on serde/derive . Just add resolve = "2" to Cargo.toml to see the following: error[E0433]: failed to resolve: could not find `Deserialize` in `serde` --> src/name.rs:19:45 | 19 | #[cfg_attr( …
loyd · 2022-09-08 · 8 · #472
enhancementserde
Deserialization of a doctype with very long content fails
benoitryder · 2024-09-20 · 7 · #533
bughelp wanted
hecatia-elegua · 2023-05-19
Lists can be serialized but the result can not be deserialized
quickl xml is not able to deserialize an empty vector. Example below panics at the deserializing of the serialized struct use serde; use quick_xml; #[derive(serde::Serialize, serde::Deserialize)] struct Elements { #[serde(rename = "list")] elems: Vec<()>, …
GunnarMorrigan · 2023-11-17 · 4 · #682
serdearrays
Add reserved namespace bindings.
wt · 2023-09-06 · 33 · #545
wt · 2023-06-07
Issue deserializing lists of enums using serde derive
I'm trying to parse xml with the structure <root><string>A</string><string>B</string></root> . I've tried to implement this using serde derive macros as its easier to maintain. The code I've tried is use serde::{Deserialize, Serialize}; #[derive(Serialize …
maddymakesgames · 2024-02-08 · 1 · #712
serdearrays
Add new tests for syntax and ill-formed parser errors and fix... emm... errors
Mingun · 2023-11-22 · 1 · #684
bug
codecov-commenter · 2023-11-22
(De)serializing `xsi` attributes (`xsi:type`, `xsi:nil` etc.)
I'm currently working the following XML: <items> <Item xsi:type="Weapon">...</Item> <Item xsi:nil="true" /> <Item xsi:type="Shovel">...</Item> <Item xsi:nil="true" /> <Item xsi:nil="true" /> <Item xsi:nil="true" /> <Item xsi:type="Food">...</Item> </items …
furtidev · 2024-10-15 · 2 · #822
de: consider local name only for namespaced tags in structs with `$value`
Xiphoseer · 2024-05-13 · 10 · #736
serdenamespaces
Xiphoseer · 2024-04-12
With serde, is it possible to get unknown variant names outside of a deserializing error?
I'm using serde to deserialize a file format that looks something like this: <root> <list> <type1>content</type1> <type2>a new and exciting content type </type2> <!-- etc --> </list> </root> This is easy to implement and I've done so using an enum because …
Dekkonot · 2023-06-05 · 3 · #602
questionserde
Use thiserror crate to make error definition more ergonomic.
wt · 2023-09-09 · 10 · #640
wt · 2023-08-27
quick-xml v0.27+ changed behaviour when writing empty values
I'm using quick-xml for my XML-RPC crate (dxr) and I've been a happy user so far, thank you for maintaining the crate! I'm trying to update my quick-xml dependency to a newer version (dxr is currently stuck at v0.25), but I'm hitting a roadblock. It looks …
decathorpe · 2023-06-30 · 7 · #617
enhancementhelp wantedserde
Thomblin · 2023-12-15 · 2 · #694
Thomblin · 2023-12-12
Do not return error on parsing preperly escaped zero values, which are perfectly valid. Add simple test to check it.
sashka · 2023-07-10 · 17 · #496
enhancement
De/serializing DateTime and Duration
nrempel · 2022-05-25 · 5 · #339
enhancementhelp wantedserde
nrempel · 2022-05-24
How to use value of e.name without temporary value dropped while borrowed error?
I'm new to Rust, I wanna store the name of the current tag in a variable, so I can create a HashMap using the name as key and its content as value, This is my code: fn parser() { let reader = Reader::from_file("12.xml"); if let Err(e) = reader { panic!("{ …
bangbaew · 2023-08-10 · 2 · #628
question
Fix incorrect test for 580 and get rid of allocations in hot path
Mingun · 2023-10-09 · 1 · #662
serdeoptimization
codecov-commenter · 2023-10-07
Is it as expect that Option attribute serialize into empty string instead of non-attribute.
A simple example here. use serde::Serialize; use quick_xml::se::to_string; #[derive(Serialize)] struct Foo { #[serde(rename = "@foo")] foo: Option<usize> } #[test] fn test_foo() { let foo = Foo { foo: None }; let foo_xml = to_string(&foo).unwrap(); assert …
Vonfry · 2023-12-03 · 1 · #692
serdedocumentation
Problem deserializing a struct that can be serialized
KorribanMaster · 2024-06-03 · 2 · #752
bughelp wantedserdearrays
KorribanMaster · 2024-06-03
Lifetime issue in new unbuffered logic
I have been trying out the new alpha version and I think I stumbled upon a kinda-bug. Somehow something that should be possible is not, I think because of the way lifetimes are indicated in some methods. I'm trying to find a fix, but to reproduce the …
stevenroose · 2022-08-15 · 3 · #329
deserialize_struct loses the main element
gkorland · 2023-02-20 · 3 · #448
serde
spazm · 2023-02-20
Yet another approach to disable trim
I implemented disabling trim by modifying Text struct. See: https://github.com/tafia/quick-xml/issues/285#issuecomment-2863592598 I need this for parsing .odt files. Can anybody give me some feedback? This issue is 4 years old and I'm willing to fix it if …
ggodlewski · 2025-05-30 · 1 · #865
enhancementserde
Yet another approach to disable trim
ggodlewski · 2025-05-30 · 1 · #865
enhancementserde
codecov-commenter · 2025-05-29
Start rewrite serde serialization tests
Our serde serializer a far from ideal, but rewriting it requires a very long commit history, as I think (I already have 20 commits and I suspect that I'll double that count...). Because I'm not a big fan of long PRs, I propose that changes, that rewrites …
Mingun · 2022-09-04 · 3 · #468
serde
Simplify Deserializer::peek to avoid unreachable
Dr-Emann · 2025-05-11 · 1 · #860
codecov-commenter · 2025-05-04