aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-04-15 16:52:08 +0200
committerTeddy Wing2018-04-15 16:52:08 +0200
commit4ba028e268242b3b5d62f54cbcda27e21e3f0b8b (patch)
treea160eb3abd83fb1441d8e4a651357e334a32e7f0 /src
parent9b2104ed31b384fa2c902f645a5d254ba4222db1 (diff)
downloadmeetup-find-events-rss-4ba028e268242b3b5d62f54cbcda27e21e3f0b8b.tar.bz2
Add license (GNU GPLv3+)
Diffstat (limited to 'src')
-rw-r--r--src/build_rss.rs18
-rw-r--r--src/errors.rs18
-rw-r--r--src/lib.rs18
-rw-r--r--src/main.rs18
-rw-r--r--src/meetup_rss.rs18
5 files changed, 90 insertions, 0 deletions
diff --git a/src/build_rss.rs b/src/build_rss.rs
index 2289c87..4437ad6 100644
--- a/src/build_rss.rs
+++ b/src/build_rss.rs
@@ -1,3 +1,21 @@
+// Copyright © 2018 Teddy Wing
+//
+// This file is part of Meetup Find Events RSS.
+//
+// Meetup Find Events RSS is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, either version 3 of
+// the License, or (at your option) any later version.
+//
+// Meetup Find Events RSS is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Meetup Find Events RSS. If not, see
+// <http://www.gnu.org/licenses/>.
+
use errors::*;
use meetup;
diff --git a/src/errors.rs b/src/errors.rs
index d9e431b..15664bb 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -1,3 +1,21 @@
+// Copyright © 2018 Teddy Wing
+//
+// This file is part of Meetup Find Events RSS.
+//
+// Meetup Find Events RSS is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, either version 3 of
+// the License, or (at your option) any later version.
+//
+// Meetup Find Events RSS is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Meetup Find Events RSS. If not, see
+// <http://www.gnu.org/licenses/>.
+
error_chain! {
foreign_links {
Meetup(::meetup::Error);
diff --git a/src/lib.rs b/src/lib.rs
index 6cfbd86..c475850 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,21 @@
+// Copyright © 2018 Teddy Wing
+//
+// This file is part of Meetup Find Events RSS.
+//
+// Meetup Find Events RSS is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, either version 3 of
+// the License, or (at your option) any later version.
+//
+// Meetup Find Events RSS is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Meetup Find Events RSS. If not, see
+// <http://www.gnu.org/licenses/>.
+
#[macro_use]
extern crate error_chain;
extern crate rss;
diff --git a/src/main.rs b/src/main.rs
index f0482d0..09ac1dd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,21 @@
+// Copyright © 2018 Teddy Wing
+//
+// This file is part of Meetup Find Events RSS.
+//
+// Meetup Find Events RSS is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, either version 3 of
+// the License, or (at your option) any later version.
+//
+// Meetup Find Events RSS is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Meetup Find Events RSS. If not, see
+// <http://www.gnu.org/licenses/>.
+
#[macro_use]
extern crate error_chain;
extern crate getopts;
diff --git a/src/meetup_rss.rs b/src/meetup_rss.rs
index b0339cd..4b5596c 100644
--- a/src/meetup_rss.rs
+++ b/src/meetup_rss.rs
@@ -1,3 +1,21 @@
+// Copyright © 2018 Teddy Wing
+//
+// This file is part of Meetup Find Events RSS.
+//
+// Meetup Find Events RSS is free software: you can redistribute it
+// and/or modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation, either version 3 of
+// the License, or (at your option) any later version.
+//
+// Meetup Find Events RSS is distributed in the hope that it will be
+// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
+// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Meetup Find Events RSS. If not, see
+// <http://www.gnu.org/licenses/>.
+
use rss::{Channel, ChannelBuilder, Item};
use std::io;