Refactored modules
This commit is contained in:
parent
65a7670a1b
commit
7e3bccb5ad
9 changed files with 37 additions and 23 deletions
20
src/lib.rs
20
src/lib.rs
|
@ -1,3 +1,21 @@
|
|||
pub mod data;
|
||||
//! This crate provides a way to manage CalDAV data.
|
||||
//!
|
||||
//! It provides a CalDAV client in the [`client`] module, that can be used as a stand-alone module.
|
||||
//!
|
||||
//! Because the connection to the server may be slow, and a user-frendly app may want to quicky display cached data on startup, this crate also provides a local cache for CalDAV data in the [`cache`] module.
|
||||
//!
|
||||
//! These two "data sources" (actual client and local cache) can be used together in a [`Provider`](provider::Provider). \
|
||||
//! A `Provider` abstracts these two sources by merging them together into one virtual source. \
|
||||
//! It also handles synchronisation between the local cache and the server.
|
||||
|
||||
mod calendar;
|
||||
pub use calendar::Calendar;
|
||||
mod task;
|
||||
pub use task::Task;
|
||||
|
||||
pub mod client;
|
||||
pub mod provider;
|
||||
pub mod cache;
|
||||
|
||||
pub mod settings;
|
||||
pub mod utils;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue