Cargo.toml: Update minidom to 0.4.3 to use its new IntoAttributeValue implementation on numbers.
This commit is contained in:
parent
8e1d5e7983
commit
6794b34714
6 changed files with 9 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue