Skip to main content

Crate dotfiles_core

Crate dotfiles_core 

Source
Expand description

The core of Dotfiles-rs is basically a set of actions built from configuration sources (StrictYaml is the only supported configuration source so far).

The framework parses configuration from the configuration source, applies default settings if necessary, and builds actions that can be executed.

The base traits and helper functions for these building blocks can be found in the action and yaml_util modules.

Re-exports§

pub use action::Action;
pub use settings::Setting;
pub use settings::Settings;

Modules§

action
This module contains the base trait for all Actions.
error
Module for the error handling classes and enums.
exec_wrapper
Wraps some logic to run external commands and handle errors
path
Contains helpful functions to deal with paths in the context of parsing them for dotfiles configs.
settings
This module contains the definition of a setting and code to parse them.
yaml_util
Module that defines helper functions to process YAML configuration sources.