From 3a88d7caf02bdb7da3753423d938cbd226879f0c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 15 Apr 2018 00:15:02 +0200 Subject: Add 'error-chain' to the main library Use 'error-chain' here too. Seems like this will be a pretty useful library. Change the include in the 'meetup' `lib.rs` to allow us to export `meetup::Error` instead of `meetup::errors::Error` to be consistent with the error types of the other third-party libraries we're using. --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index cc20fe5..6cfbd86 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,10 @@ +#[macro_use] +extern crate error_chain; extern crate rss; extern crate meetup; pub mod build_rss; +mod errors; mod meetup_rss; -- cgit v1.2.3