[][src]Crate germinate

A templating library which supports injecting variables from multiple sources. Examples of this would be templating a file and injecting variables from both the environment and an external location such as AWS Systems Manager Parameter Store

Modules

awsssm

Provides the ability to asynchronously load values from the AWS Systems Manager Parameter Store

env

Provides the ability to load values from the environment

Enums

ValueSource

This type represents the sources where a value can be loaded from

Traits

ValueLoader

A type implementing the ValueLoader trait can be used to load a value from a store by it's key

Functions

parse

Parses the input string for template strings and returns a HashMap of template strings and their associated values

process

This is the main entrypoint to the library. It takes a String which contains template strings and individually loads and replaces the template strings with the value they represent