summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7e6cfcbc..bd8e4cfa 100755
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -82,6 +82,11 @@ impl Builder {
self
}
+ pub fn whitelisted_var<T: Into<String>>(mut self, arg: T) -> Builder {
+ self.options.whitelisted_vars.insert(&arg.into());
+ self
+ }
+
pub fn raw_line<T: Into<String>>(mut self, arg: T) -> Builder {
self.options.raw_lines.push(arg.into());
self