Crate realize

Source
Expand description

A blazingly fast configuration management library. Exposes a type-safe eDSL for writing system configuration programs.

§Terminology

This library realizes configurations. A configuration is a collection of Resources, that are declared using an eDSL. When all resources have been realized, the configuration is considered applied.

To aid with dependency management, there are meta-resources that can manage several resources and the dependencies between them. One such resource is the Reality resource, that can ensure that other resources are realized.

Re-exports§

pub use meta::Reality;

Modules§

error
Error types and utilities.
fs
File-system related resource types.
meta
Meta-resources, that manage other resources.
resource
Definitions for resources and related types.

Functions§

apply
Runs the supplied configuration function and applies the resulting reality. This should be called from your main method, it assumes that it is safe to call std::process::exit for example.