mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
Move namespace to dedicated dav crate
This commit is contained in:
@@ -17,6 +17,7 @@ quick-xml = { version = "0.30.0", features = [
|
|||||||
] }
|
] }
|
||||||
roxmltree = "0.18.0"
|
roxmltree = "0.18.0"
|
||||||
rustical_store = { path = "../store/" }
|
rustical_store = { path = "../store/" }
|
||||||
|
rustical_dav = { path = "../dav/" }
|
||||||
rustical_auth = { path = "../auth/" }
|
rustical_auth = { path = "../auth/" }
|
||||||
serde = { version = "1.0.188", features = ["serde_derive", "derive"] }
|
serde = { version = "1.0.188", features = ["serde_derive", "derive"] }
|
||||||
serde_json = "1.0.105"
|
serde_json = "1.0.105"
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ use tokio::sync::RwLock;
|
|||||||
|
|
||||||
pub mod depth_extractor;
|
pub mod depth_extractor;
|
||||||
pub mod error;
|
pub mod error;
|
||||||
pub mod namespace;
|
|
||||||
pub mod proptypes;
|
pub mod proptypes;
|
||||||
pub mod resource;
|
pub mod resource;
|
||||||
pub mod resources;
|
pub mod resources;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
use crate::namespace::Namespace;
|
use rustical_dav::namespace::Namespace;
|
||||||
use crate::resource::HandlePropfind;
|
use crate::resource::HandlePropfind;
|
||||||
use crate::resources::event::EventResource;
|
use crate::resources::event::EventResource;
|
||||||
use crate::xml_snippets::generate_multistatus;
|
use crate::xml_snippets::generate_multistatus;
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
use crate::depth_extractor::Depth;
|
use crate::depth_extractor::Depth;
|
||||||
use crate::namespace::Namespace;
|
|
||||||
use crate::resource::{HandlePropfind, Resource};
|
use crate::resource::{HandlePropfind, Resource};
|
||||||
use crate::xml_snippets::generate_multistatus;
|
use crate::xml_snippets::generate_multistatus;
|
||||||
use crate::CalDavContext;
|
use crate::CalDavContext;
|
||||||
@@ -10,6 +9,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::namespace::Namespace;
|
||||||
use rustical_store::calendar::CalendarStore;
|
use rustical_store::calendar::CalendarStore;
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
|
|
||||||
|
|||||||
7
crates/dav/Cargo.toml
Normal file
7
crates/dav/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[package]
|
||||||
|
name = "rustical_dav"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
quick-xml = "0.30.0"
|
||||||
1
crates/dav/src/lib.rs
Normal file
1
crates/dav/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
pub mod namespace;
|
||||||
Reference in New Issue
Block a user