From 115fe07e2c11aa72e91a5ce9b028ed1c1ff7d806 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Thu, 2 Feb 2017 12:03:55 -0800 Subject: Add support for Table/Array and deep merging of configuration values --- src/source.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/source.rs') diff --git a/src/source.rs b/src/source.rs index bc1dd40..e136176 100644 --- a/src/source.rs +++ b/src/source.rs @@ -1,10 +1,10 @@ use std::error::Error; -use std::borrow::Cow; +use std::collections::HashMap; use value::Value; pub trait Source { - fn get<'a>(&self, key: &str) -> Option>; + fn collect(&self) -> HashMap; } pub trait SourceBuilder { -- cgit v1.2.3