You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using serde-xml-rs with the vkxml crate in one of my projects, and although the structures it exposes implement Serialize, the serialization fails due to serialize_seq() not being supported in serde-xml-rs, as described in this code block.
In this library, a valid vk_new.xml file is represented an ordered sequence of RegistryElement tags (see the lib.rs). Therefore, it intuitively appears straightforward to iterate over each element in the sequence and serialize them in turn. However, the comment left in the serialize_seq() method leads me to believe that this task isn't as simple as it seems.
Would anyone please elaborate on why this behavior isn't supported?
EDIT: I see that #36 has been open for about a year. What's the status?
The text was updated successfully, but these errors were encountered:
I was using
serde-xml-rs
with thevkxml
crate in one of my projects, and although the structures it exposes implementSerialize
, the serialization fails due toserialize_seq()
not being supported inserde-xml-rs
, as described in this code block.In this library, a valid
vk_new.xml
file is represented an ordered sequence ofRegistryElement
tags (see the lib.rs). Therefore, it intuitively appears straightforward to iterate over each element in the sequence and serialize them in turn. However, the comment left in theserialize_seq()
method leads me to believe that this task isn't as simple as it seems.Would anyone please elaborate on why this behavior isn't supported?
EDIT: I see that #36 has been open for about a year. What's the status?
The text was updated successfully, but these errors were encountered: