mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 12:52:27 +00:00
move CalendarStore to separate file
This commit is contained in:
@@ -5,7 +5,7 @@ use actix_web::{
|
||||
HttpResponse,
|
||||
};
|
||||
use rustical_auth::{AuthInfoExtractor, CheckAuthentication};
|
||||
use rustical_store::calendar::CalendarStore;
|
||||
use rustical_store::store::CalendarStore;
|
||||
|
||||
pub async fn route_delete_calendar<A: CheckAuthentication, C: CalendarStore + ?Sized>(
|
||||
context: Data<CalDavContext<C>>,
|
||||
|
||||
@@ -4,8 +4,8 @@ use actix_web::web::{Data, Path};
|
||||
use actix_web::HttpResponse;
|
||||
use anyhow::Result;
|
||||
use rustical_auth::{AuthInfoExtractor, CheckAuthentication};
|
||||
use rustical_dav::xml::tag_list::TagList;
|
||||
use rustical_store::calendar::{Calendar, CalendarStore};
|
||||
use rustical_store::calendar::Calendar;
|
||||
use rustical_store::store::CalendarStore;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Deserialize, Serialize, Clone, Debug)]
|
||||
|
||||
@@ -9,7 +9,8 @@ use rustical_dav::{
|
||||
propfind::{MultistatusElement, PropElement, PropfindType, ServicePrefix},
|
||||
resource::HandlePropfind,
|
||||
};
|
||||
use rustical_store::{calendar::CalendarStore, event::Event};
|
||||
use rustical_store::event::Event;
|
||||
use rustical_store::store::CalendarStore;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use tokio::sync::RwLock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user