Bump quick-xml to 0.26
This commit is contained in:
parent
a34dbdcf82
commit
0f052ea125
|
@ -14,7 +14,7 @@ default = ["tokio-rustls"]
|
||||||
async-trait = "0.1.52"
|
async-trait = "0.1.52"
|
||||||
celes = "2.1"
|
celes = "2.1"
|
||||||
chrono = { version = "0.4.23", features = ["serde"] }
|
chrono = { version = "0.4.23", features = ["serde"] }
|
||||||
quick-xml = { version = "0.23", features = [ "serialize" ] }
|
quick-xml = { version = "0.26", features = [ "serialize" ] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tokio = { version = "1.0", features = [ "full" ] }
|
tokio = { version = "1.0", features = [ "full" ] }
|
||||||
tokio-rustls = { version = "0.23", optional = true }
|
tokio-rustls = { version = "0.23", optional = true }
|
||||||
|
|
|
@ -33,10 +33,10 @@ impl Default for MessagePoll<'static> {
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub enum MessageData {
|
pub enum MessageData {
|
||||||
/// Data under the <domain:trnData> tag
|
/// Data under the <domain:trnData> tag
|
||||||
#[serde(rename = "domain:trnData")]
|
#[serde(rename = "trnData")]
|
||||||
DomainTransfer(DomainTransferResponseData),
|
DomainTransfer(DomainTransferResponseData),
|
||||||
/// Data under the <host:infData> tag
|
/// Data under the <host:infData> tag
|
||||||
#[serde(rename = "host:infData")]
|
#[serde(rename = "infData")]
|
||||||
HostInfo(HostInfoResponseData),
|
HostInfo(HostInfoResponseData),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ pub enum MessageData {
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub struct MessagePollResponse {
|
pub struct MessagePollResponse {
|
||||||
/// Data under the <trnData> tag
|
/// Data under the <trnData> tag
|
||||||
#[serde(alias = "trnData", alias = "infData")]
|
#[serde(rename = "trnData", alias = "infData")]
|
||||||
pub message_data: MessageData,
|
pub message_data: MessageData,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue