summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-02-07 17:09:41 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-02-07 17:09:41 -0800
commit9239ee5c27eb6d87098b10cb8e1f4ea9465d1add (patch)
treef4a3fb1098a94ca1fc148360ab90434c06400b4f /src/lib.rs
parent115fe07e2c11aa72e91a5ce9b028ed1c1ff7d806 (diff)
Add path resolution using a strict subset of JSONPath
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 5f8957a..89ffc69 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,7 @@
#![feature(drop_types_in_const)]
#![allow(unknown_lints)]
+#![feature(trace_macros)]
//! Configuration is gathered by building a `Source` and then merging that source into the
//! current state of the configuration.
@@ -40,6 +41,9 @@
//! See the [examples](https://github.com/mehcode/config-rs/tree/master/examples) for
//! more usage information.
+#[macro_use]
+extern crate nom;
+
#[cfg(feature = "toml")]
extern crate toml;
@@ -50,6 +54,7 @@ mod value;
mod source;
mod file;
mod env;
+mod path;
mod config;
use std::error::Error;