docs.rs failed to build germinate-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
germinate-0.7.0
Germinate
A templating library for injecting variables from multiple external sources
Library
Example
This is a simple example showing how to pull values from the environment
use Seed;
async
Binary
Germinate provides a CLI for templating files, available from the Github releases. To run the CLI, cimply download the binary for your system and check the usage with germinate --help
Example
The CLI can be used to parse an template file and output it either to stdout or optionally, an output file
# To print the parsed result to stdout
germinate myfile.txt.tmpl
# To write the output to a file
germinate myfile.txt.tmpl -o myfile.txt
Sources
Currently implemented sources:
env- Load values from environment variablesawsssm- Load values from the AWS Systems Manager Parameter Store- This source requires the
ssm:GetParameterAWS IAM permission
- This source requires the
awsec2metadata- Load values from the AWS EC2 Metadata Serviceawsec2tag- Load values from an EC2 instance's tags. This can only access tags on the instance runninggerminate- This source requires the instance to have the
ec2:DescribeInstancesAWS IAM permission
- This source requires the instance to have the
Custom sources
For an example of integrating your own value source, checkout the Seed struct in the docs