diff options
author | Katharina Fey <kookie@spacekookie.de> | 2018-09-15 20:34:14 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2018-09-15 20:34:14 +0100 |
commit | 87cb39050d938e01b7b26633dab3d141737330ed (patch) | |
tree | 0b31f4c8ab0da54f32c959664c46427dc9d9174d /lockchain-files/src/config.rs | |
parent | 306c1e56b0dc457b59c47693c62fcab668398020 (diff) |
A lot of refactoring in lockchain-files
Diffstat (limited to 'lockchain-files/src/config.rs')
-rw-r--r-- | lockchain-files/src/config.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lockchain-files/src/config.rs b/lockchain-files/src/config.rs index ffec582..c862b31 100644 --- a/lockchain-files/src/config.rs +++ b/lockchain-files/src/config.rs @@ -11,6 +11,8 @@ use semver::Version; use toml; use utils::FileToString; +use lcc::Generator; + /// A set of errors around `lockchain-files` configs #[derive(Debug)] pub enum ConfigError { @@ -46,7 +48,7 @@ pub struct VaultConfig { } impl VaultConfig { - pub fn new() -> Self { + pub fn new(_: &Generator) -> Self { Self { version: "0.1".into(), created_at: SystemTime::now(), |