mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 14:02:29 +00:00
Move depth_extractor to dav crate
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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/" }
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user