some changes to rustical_xml

This commit is contained in:
Lennart
2024-12-21 15:11:11 +01:00
parent 57268f202d
commit 9ca941b97e
11 changed files with 441 additions and 207 deletions

View File

@@ -1,4 +1,5 @@
use rustical_xml::XmlRoot;
use std::io::BufRead;
use xml_derive::XmlDeserialize;
#[test]
@@ -11,7 +12,7 @@ fn test_struct_untagged_enum() {
#[derive(Debug, XmlDeserialize, PartialEq)]
struct Prop {
#[xml(untagged)]
#[xml(ty = "untagged")]
prop: PropEnum,
}