Crates.io | envsubst |
lib.rs | envsubst |
version | 0.2.1 |
source | src |
created_at | 2019-05-14 12:15:09.506562 |
updated_at | 2022-11-29 09:30:21.634845 |
description | Variables substitution |
homepage | |
repository | https://github.com/coreos/envsubst-rs |
max_upload_size | |
id | 134259 |
size | 19,973 |
A simple Rust library for variables substitution.
This library provide helper functions for string manipulation, taking values from a context environment map and substituting all matching placeholders.
Its name and logic is similar to the envsubst
GNU utility, but
this only supports braces-delimited variables (i.e. ${foo}
) and
takes replacement values from an explicit map of variables.
Licensed under either of
at your option.