reify 0.5.8

Write configuration files from templates using env variables
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;
use anyhow::Result;

pub trait EnvVars {
    fn prefixed(prefix: &str) -> Result<HashMap<String, String>>;
}

pub trait FileSystem {
    fn read_string(path: &str) -> Result<String>;
    fn write_string(path: &str, content: &str) -> Result<()>;
}