Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers.

This commit is contained in:
Emmanuel Gil Peyrot 2017-05-27 23:18:15 +01:00
commit 6794b34714
6 changed files with 9 additions and 12 deletions

View file

@ -113,7 +113,7 @@ impl Into<Element> for IBB {
IBB::Open { block_size, sid, stanza } => {
Element::builder("open")
.ns(ns::IBB)
.attr("block-size", format!("{}", block_size))
.attr("block-size", block_size)
.attr("sid", sid)
.attr("stanza", stanza)
.build()
@ -121,7 +121,7 @@ impl Into<Element> for IBB {
IBB::Data { seq, sid, data } => {
Element::builder("data")
.ns(ns::IBB)
.attr("seq", format!("{}", seq))
.attr("seq", seq)
.attr("sid", sid)
.append(base64::encode(&data))
.build()