Expand description
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.
milston = { version = "0.1", features = ["http"] }
Modules§
- config
- Here all the required structures for
Config
handling are available. Completely separated from structures required to manipulate theMilston
data. - data
- Here all the required structures for
Data
handling are available. Completely separated from structures required to setup theMilston
settings. - error
Structs§
- Milston
- Milston is the entry point to the API, is the struct that controls all the data and the way it should be saved/loaded.