mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
rustical_dav: Make actix-web a completely optional dependency
This commit is contained in:
@@ -7,9 +7,8 @@ pub mod resource;
|
||||
pub mod resources;
|
||||
pub mod xml;
|
||||
|
||||
use actix_web::FromRequest;
|
||||
pub use error::Error;
|
||||
|
||||
pub trait Principal: std::fmt::Debug + Clone + FromRequest + 'static {
|
||||
pub trait Principal: std::fmt::Debug + Clone + 'static {
|
||||
fn get_id(&self) -> &str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user