Bump dependencies

This commit is contained in:
Maurus Decimus
2026-06-03 19:57:12 +02:00
parent 838a839290
commit 0fdcdd4f87
17 changed files with 95 additions and 62 deletions

View File

@@ -104,11 +104,8 @@ pub async fn test(test: &mut TestServer) {
// Test temporary blob quota (3 files)
DISABLE_UPLOAD_QUOTA.store(false, std::sync::atomic::Ordering::Relaxed);
let client = account.jmap_client().await;
let raw_http = HttpRequest::with_credentials(
8899,
"user1@example.org",
"this is a very strong password1",
);
let raw_http =
HttpRequest::with_credentials(8899, "user1@example.org", "this is a very strong password1");
let upload_url = format!("/jmap/upload/{account_id}");
for i in 0..3 {
assert_eq!(

View File

@@ -272,11 +272,8 @@ pub async fn test(test: &mut TestServer) {
// Concurrent requests check
let client = Arc::new(client);
let raw_http = HttpRequest::with_credentials(
8899,
"user@example.org",
"this is a very strong password",
);
let raw_http =
HttpRequest::with_credentials(8899, "user@example.org", "this is a very strong password");
for _ in 0..8 {
let client_ = client.clone();
tokio::spawn(async move {

View File

@@ -13,7 +13,7 @@ use dav_proto::{
};
use groupware::DavResourceName;
use hyper::{HeaderMap, Method, StatusCode, header::AUTHORIZATION};
use quick_xml::{Reader, events::Event};
use quick_xml::{Reader, XmlVersion, events::Event};
use std::{borrow::Cow, time::Duration};
use store::rand::{Rng, distr::Alphanumeric, rng};
@@ -1136,7 +1136,7 @@ fn flatten_xml(xml: &str) -> Vec<(String, String)> {
for attr in e.attributes() {
let attr = attr.unwrap();
let key = str::from_utf8(attr.key.as_ref()).unwrap().to_string();
let value = attr.unescape_value().unwrap();
let value = attr.normalized_value(XmlVersion::Implicit1_0).unwrap();
let value_str = value.trim().to_string();
result.push((format!("{}.[{}]", base_path, key), value_str));
@@ -1151,7 +1151,7 @@ fn flatten_xml(xml: &str) -> Vec<(String, String)> {
for attr in e.attributes() {
let attr = attr.unwrap();
let key = str::from_utf8(attr.key.as_ref()).unwrap().to_string();
let value = attr.unescape_value().unwrap();
let value = attr.normalized_value(XmlVersion::Implicit1_0).unwrap();
let value_str = value.trim().to_string();
has_attrs = true;
result.push((format!("{}.[{}]", base_path, key), value_str));
@@ -1162,7 +1162,7 @@ fn flatten_xml(xml: &str) -> Vec<(String, String)> {
}
}
Event::Text(e) => {
let text = e.xml_content().unwrap();
let text = e.xml_content(XmlVersion::Implicit1_0).unwrap();
let trimmed = text.trim();
if !trimmed.is_empty() {
if let Some(text_content) = text_content.as_mut() {