abscissa_core 0.2.0

Application microframework with support for command-line option parsing, configuration, error handling, logging, and terminal interactions. This crate contains the framework's core functionality.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Application state managed by the framework.

use crate::{application::Application, component, thread};

/// Framework-managed application state
#[derive(Debug, Default)]
pub struct State<A: Application> {
    /// Application components.
    pub components: component::Registry<A>,

    /// Application paths.
    pub paths: A::Paths,

    /// Thread manager.
    pub threads: thread::Manager,
}