Bump instant-xml to 0.4
This commit is contained in:
parent
d590eb6a6a
commit
4aae031f44
|
@ -15,7 +15,7 @@ rustls = ["tokio-rustls", "rustls-native-certs"]
|
||||||
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"] }
|
||||||
instant-xml = { version = "0.3", features = ["chrono"] }
|
instant-xml = { version = "0.4", features = ["chrono"] }
|
||||||
rustls-native-certs = { version = "0.6.3", optional = true }
|
rustls-native-certs = { version = "0.6.3", optional = true }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tokio = { version = "1.0", features = ["io-util", "net", "time"] }
|
tokio = { version = "1.0", features = ["io-util", "net", "time"] }
|
||||||
|
|
|
@ -301,7 +301,7 @@ impl<'xml> FromXml<'xml> for Status {
|
||||||
return Err(Error::MissingValue(field));
|
return Err(Error::MissingValue(field));
|
||||||
}
|
}
|
||||||
|
|
||||||
*into = Some(match attr.value {
|
*into = Some(match attr.value.as_ref() {
|
||||||
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
||||||
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
||||||
"clientTransferProhibited" => Self::ClientTransferProhibited,
|
"clientTransferProhibited" => Self::ClientTransferProhibited,
|
||||||
|
|
|
@ -315,7 +315,7 @@ impl<'xml> FromXml<'xml> for Status {
|
||||||
return Err(Error::MissingValue(field));
|
return Err(Error::MissingValue(field));
|
||||||
}
|
}
|
||||||
|
|
||||||
*into = Some(match attr.value {
|
*into = Some(match attr.value.as_ref() {
|
||||||
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
||||||
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
||||||
"clientHold" => Self::ClientHold,
|
"clientHold" => Self::ClientHold,
|
||||||
|
|
|
@ -103,7 +103,7 @@ impl<'xml> FromXml<'xml> for Status {
|
||||||
return Err(Error::MissingValue(field));
|
return Err(Error::MissingValue(field));
|
||||||
}
|
}
|
||||||
|
|
||||||
*into = Some(match attr.value {
|
*into = Some(match attr.value.as_ref() {
|
||||||
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
"clientDeleteProhibited" => Self::ClientDeleteProhibited,
|
||||||
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
"serverDeleteProhibited" => Self::ServerDeleteProhibited,
|
||||||
"clientUpdateProhibited" => Self::ClientUpdateProhibited,
|
"clientUpdateProhibited" => Self::ClientUpdateProhibited,
|
||||||
|
|
Loading…
Reference in New Issue