1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Standard library for projects and tasks management
//!
//! Milston aims to provide the required methods to abstract any implementation
//! for a project/task management app. Since it holds the data and config
//! structure, different apps using this library are compatible between themselves
//! and the data can be shared between them, without the need to export and import
//! it between different clients.
//!
//! # Quick Start
//!
//! To begin, create a new [`Milston`] instance.
//!
//!
//! ```
//! use milston::Milston;
//!
//! let milston = Milston::default();
//! ```
//!
//! A default Milston instance will save the data in the local storage as a JSON
//! file.
//!
//! # Features
//!
//! Milston providers different data sources to configure where the data should be saved.
//!
//! By default, the only available source is the local filesystem. The available features are:
//!
//! - `http`: Allows saving data to a REST endpoint by sending GET and POST requests
//!
//! To set the features, specificy them on the `Cargo.toml` file.
//!
//! ```toml
//! milston = { version = "0.1", features = ["http"] }
//! ```
pub use crateError;
pub use crate;