kitchen-freezer/src/lib.rs

29 lines
938 B
Rust
Raw Normal View History

2021-02-22 00:13:29 +01:00
//! 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.
2021-02-25 00:47:39 +01:00
pub mod traits;
2021-02-24 23:49:20 +01:00
pub mod calendar;
2021-02-22 00:13:29 +01:00
pub use calendar::Calendar;
mod item;
pub use item::Item;
2021-02-22 00:13:29 +01:00
mod task;
pub use task::Task;
mod event;
pub use event::Event;
2021-02-27 11:58:40 +01:00
pub mod provider;
pub use provider::Provider;
2021-02-22 00:13:29 +01:00
pub mod client;
pub mod cache;
2021-02-20 00:10:05 +01:00
pub mod settings;
2021-02-21 00:29:22 +01:00
pub mod utils;