Crate initiative_core

source ·
Expand description

This crate forms the core of the initiative.sh application. It is a common dependency of the initiative_web crate containing the web version of the app, and the initiative_cli crate containing the (incomplete) terminal version.

It communicates to the outside world through the app::App struct, which exposes essentially the entirety of the crate’s public API (constructed using the app() function). See the documentation of these two entities for details on that API.

Re-exports§

Modules§

Structs§

Traits§

Functions§

  • Creates a new instance of the application wrapper. The data_store is used to save and load data from storage, and the event_dispatcher is a callback function invoked whenever an event occurs in-app that may require special handling by the UI. See Event for details.