calcli 0.3.0

Fast terminal calculator (TUI) with history, variables and engineering helpers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The persistence layer: a [`StateRepository`] port and its TOML
//! implementation, decoupling the rest of the app from the on-disk format.
//!
//! Failures surface as [`StorageError`], which the service boundary funnels
//! into a domain error so no layer above here names files or TOML.

pub mod errors;
pub mod repository;
pub mod toml_state;

pub use errors::{IoResultExt, StorageError, StorageResult};
pub use repository::{
    PersistedEntry, PersistedSettings, PersistedState, PersistedValue,
    StateRepository, UiState,
};
pub use toml_state::TomlStateRepository;