Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump quick-xml from 0.30.0 to 0.31.0 #53

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ itoa = "1.0.6"
libgssapi = { version = "0.6.4", features = ["iov"] }
log = "0.4.19"
mime = "0.3.17"
quick-xml = "0.30.0"
quick-xml = "0.31.0"
roxmltree = "0.18.0"
tokio = { version = "1.33.0", features = ["full"] }
rdkafka = { version = "0.34.0", features = ["zstd", "libz", "external-lz4"] }
Expand Down
48 changes: 24 additions & 24 deletions server/src/soap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ impl Serializable for Subscription {
.write_inner_content(|writer| {
self.header.serialize(writer)?;
self.body.serialize(writer)?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
}
Expand Down Expand Up @@ -115,9 +115,9 @@ impl Serializable for SubscriptionBody {
writer
.create_element("e:Identifier")
.write_text_content(BytesText::new(&self.identifier))?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
writer
.create_element("e:Delivery")
Expand All @@ -141,7 +141,7 @@ impl Serializable for SubscriptionBody {
.write_text_content(BytesText::new(
&self.identifier,
))?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
writer
.create_element("c:Policy")
Expand Down Expand Up @@ -182,11 +182,11 @@ impl Serializable for SubscriptionBody {
.write_text_content(BytesText::new(
tmb,
))?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
// ----- END TLS ----- //
}
else {
Expand All @@ -200,15 +200,15 @@ impl Serializable for SubscriptionBody {
SPNEGO_KERBEROS,
))
.write_empty()?;
Ok(())
Ok::<(), quick_xml::Error>(())
// ----- END KRB ----- //
}
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
},
)?;
writer
Expand Down Expand Up @@ -242,7 +242,7 @@ impl Serializable for SubscriptionBody {
writer
.create_element("w:ContentEncoding")
.write_text_content(BytesText::new("UTF-16"))?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
writer
.create_element("w:Filter")
Expand All @@ -258,7 +258,7 @@ impl Serializable for SubscriptionBody {
_ => (),
};
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
if let Some(bookmark) = &self.bookmark {
writer
Expand All @@ -273,13 +273,13 @@ impl Serializable for SubscriptionBody {
_ => (),
};
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
}
writer.create_element("w:SendBookmarks").write_empty()?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
}
Expand Down Expand Up @@ -405,7 +405,7 @@ impl Serializable for Header {
.create_element("a:Address")
.with_attribute(("s:mustUnderstand", "true"))
.write_text_content(BytesText::new(reply_to))?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
}
if let Some(action) = &self.action {
Expand Down Expand Up @@ -476,10 +476,10 @@ impl Serializable for Header {
.write_empty()?,
};
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
}
Expand Down Expand Up @@ -510,12 +510,12 @@ impl Serializable for Body {
for subscription in subscriptions {
subscription.serialize(writer)?;
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
writer.create_element("w:EndOfSequence").write_empty()?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
}
x => {
Expand Down Expand Up @@ -555,7 +555,7 @@ impl Serializable for Message {
writer.create_element("s:Body").write_empty()?;
}
}
Ok(())
Ok::<(), quick_xml::Error>(())
})?;
Ok(())
}
Expand Down
Loading