Crate scsys_core

source ·

Modules

Structs

The asynchronous configuration builder.
A configuration builder

Enums

Represents all possible errors that can occur when working with configuration.
Timestamp implements a host of useful utilities for stamping data

Constants

Traits

Trait for signaling a structure with a dedicated build stage
Quickly derive elligible naming schematics for the desired structure
Interface for time-related data-structures

Functions

Gather configuration files following the specified pattern and collect them into a vector
A generic function wrapper extending glob::glob
This function converts the file found at path (fp) into a Vec
Remove the first and last charecters of a string
Simple function wrapper evaluating the claim that the given information is of type f64
Fetch the project root unless specified otherwise with a CARGO_MANIFEST_DIR env variable
Attempts to collect configuration files, following the given pattern, into a ConfigFileVec

Type Definitions

Type alias for async errors
Type alias for async results
Type alias for a boxed standard error
Type alias for a boxed error with send, sync, and static flags enabled
Type alias for the standard result used
Type alias for config::File
Type alias for a collection of crate::ConfigFile
Type alias for a configuration result
Type alias for the default timestamp
Type alias for the default timezone, chrono::Utc
Type alias for std::collections::HashMap defaulting to a (String, String) type
Type alias wrapping a locked, thread-safe structure with a std::sync::Mutex in an std::sync::Arc
Type alias for anyhow::Result
Type alias for a stateful hash map