Make tracing-actix-web optional too

This commit is contained in:
Lennart
2025-06-02 22:00:36 +02:00
parent 9836a696ad
commit 13128a5caa
4 changed files with 5 additions and 8 deletions

View File

@@ -14,7 +14,6 @@ use rustical_xml::XmlDocument;
use rustical_xml::XmlRootTag;
use std::str::FromStr;
use tracing::instrument;
use tracing_actix_web::RootSpan;
#[derive(XmlDeserialize, Clone, Debug)]
#[xml(untagged)]
@@ -68,7 +67,7 @@ pub(crate) async fn actix_route_proppatch<R: ResourceService>(
body: String,
req: actix_web::HttpRequest,
principal: R::Principal,
root_span: RootSpan,
root_span: tracing_actix_web::RootSpan,
resource_service: actix_web::web::Data<R>,
) -> Result<MultistatusElement<String, String>, R::Error> {
route_proppatch(