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§

Modules§

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

Functions§

  • 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.