Bump rxml to 0.14.0

This commit is contained in:
Jonas Schäfer 2025-09-28 09:40:44 +02:00
commit bb02836097
10 changed files with 53 additions and 32 deletions

View file

@ -20,7 +20,7 @@ proc-macro = true
quote = "1"
syn = { version = "2", features = ["full", "extra-traits"] }
proc-macro2 = "1"
rxml_validation = { version = "0.11", default-features = false, features = ["std"] }
rxml_validation = { version = "0.12", default-features = false, features = ["std"] }
[features]
panicking-into-impl = ["minidom"]

View file

@ -32,7 +32,17 @@ pub(crate) fn namespace_ty(span: Span) -> Type {
},
PathSegment {
ident: Ident::new("Namespace", span),
arguments: PathArguments::None,
arguments: PathArguments::AngleBracketed(AngleBracketedGenericArguments {
colon2_token: None,
lt_token: token::Lt { spans: [span] },
args: [GenericArgument::Lifetime(Lifetime {
apostrophe: Span::call_site(),
ident: Ident::new("static", Span::call_site()),
})]
.into_iter()
.collect(),
gt_token: token::Gt { spans: [span] },
}),
},
]
.into_iter()