summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-11-20 18:36:04 +0100
committerMatthias Beyer <mail@beyermatthias.de>2017-11-24 15:29:38 +0100
commit02939068e351ce5e37f5258c3ecb45480f3d3656 (patch)
tree00e1e91bf1d911719f0c9eccfd6589eba8b2fa16 /src/lib.rs
parente8afcf56c124b228e4328760af6a7741b1bdd658 (diff)
Add out of bounds check and error propagation for NaiveDate::from_ymd() calls
* Added recursion limit for error_chain * Added new error for out-of-bounds error * Added IntoTimeType helper trait
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d39493a..d8e1d7c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,5 @@
+#![recursion_limit="256"]
+
#[macro_use]
extern crate error_chain;
extern crate chrono;