mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-07 18:42:11 +08:00
chore(deps): update cargo dependencies (#7443)
* chore(deps): update cargo dependencies * fix(deps): align shared Rust dependency versions --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Tunglies
parent
2f7e5771ac
commit
dca6fdcae6
@@ -265,7 +265,7 @@ impl WebDavClient {
|
||||
fn parse_webdav_list(xml: &str) -> Result<Vec<ListEntity>, reqwest_dav::Error> {
|
||||
// Some WebDAV servers emit RFC 2822's numeric UTC offset instead of HTTP-date's `GMT`.
|
||||
let normalized_xml = xml.replace(" +0000</", " GMT</");
|
||||
let multi_status: ListMultiStatus = serde_xml_rs::from_str(&normalized_xml)?;
|
||||
let multi_status: ListMultiStatus = reqwest_dav::re_exports::serde_xml_rs::from_str(&normalized_xml)?;
|
||||
multi_status.responses.into_iter().map(ListEntity::try_from).collect()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user