Move depth_extractor to dav crate

This commit is contained in:
Lennart
2023-09-14 14:04:48 +02:00
parent a4b2e104e7
commit 7edb041eb7
5 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ use std::str::FromStr;
use std::sync::Arc; use std::sync::Arc;
use tokio::sync::RwLock; use tokio::sync::RwLock;
pub mod depth_extractor;
pub mod error; pub mod error;
pub mod proptypes; pub mod proptypes;
pub mod resources; pub mod resources;

View File

@@ -1,4 +1,3 @@
use crate::depth_extractor::Depth;
use crate::CalDavContext; use crate::CalDavContext;
use actix_web::http::header::ContentType; use actix_web::http::header::ContentType;
use actix_web::http::StatusCode; use actix_web::http::StatusCode;
@@ -7,6 +6,7 @@ use actix_web::{HttpRequest, HttpResponse};
use anyhow::Result; use anyhow::Result;
use quick_xml::events::BytesText; use quick_xml::events::BytesText;
use rustical_auth::{AuthInfoExtractor, CheckAuthentication}; use rustical_auth::{AuthInfoExtractor, CheckAuthentication};
use rustical_dav::depth_extractor::Depth;
use rustical_dav::namespace::Namespace; use rustical_dav::namespace::Namespace;
use rustical_dav::resource::{HandlePropfind, Resource}; use rustical_dav::resource::{HandlePropfind, Resource};
use rustical_dav::xml_snippets::generate_multistatus; use rustical_dav::xml_snippets::generate_multistatus;

View File

@@ -7,5 +7,7 @@ edition = "2021"
actix-web = "4.4.0" actix-web = "4.4.0"
anyhow = "1.0.75" anyhow = "1.0.75"
async-trait = "0.1.73" async-trait = "0.1.73"
derive_more = "0.99.17"
futures-util = "0.3.28"
quick-xml = "0.30.0" quick-xml = "0.30.0"
rustical_auth = { path = "../auth/" } rustical_auth = { path = "../auth/" }

View File

@@ -1,3 +1,4 @@
pub mod depth_extractor;
pub mod namespace; pub mod namespace;
pub mod resource; pub mod resource;
pub mod xml_snippets; pub mod xml_snippets;