dav: Make reusable for other projects

This commit is contained in:
Lennart
2025-04-18 13:26:44 +02:00
parent 626eff0373
commit 54e327d764
36 changed files with 210 additions and 121 deletions

View File

@@ -30,6 +30,7 @@ tokio.workspace = true
rand.workspace = true
uuid.workspace = true
clap.workspace = true
rustical_dav.workspace = true
[dev-dependencies]
rstest = { workspace = true }

View File

@@ -81,6 +81,12 @@ impl User {
}
}
impl rustical_dav::Principal for User {
fn get_id(&self) -> &str {
&self.id
}
}
#[derive(Clone, Debug, Display)]
pub struct UnauthorizedError;