From 5b77bb4649f57ea3d02b148ada49e47cee59a177 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 4 Nov 2018 05:08:58 +0200 Subject: [PATCH] podcasts-downloader: Add per file license annotations --- podcasts-downloader/src/downloader.rs | 20 ++++++++++++++++++++ podcasts-downloader/src/errors.rs | 20 ++++++++++++++++++++ podcasts-downloader/src/lib.rs | 20 ++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/podcasts-downloader/src/downloader.rs b/podcasts-downloader/src/downloader.rs index ae9970e..173f065 100644 --- a/podcasts-downloader/src/downloader.rs +++ b/podcasts-downloader/src/downloader.rs @@ -1,3 +1,23 @@ +// downloader.rs +// +// Copyright 2017 Jordan Petridis +// +// This program 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. +// +// This program 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 this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + + use glob::glob; use mime_guess; use reqwest; diff --git a/podcasts-downloader/src/errors.rs b/podcasts-downloader/src/errors.rs index 5750ac5..cb2dafa 100644 --- a/podcasts-downloader/src/errors.rs +++ b/podcasts-downloader/src/errors.rs @@ -1,3 +1,23 @@ +// errors.rs +// +// Copyright 2017 Jordan Petridis +// +// This program 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. +// +// This program 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 this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + + #![allow(bare_trait_objects)] use podcasts_data::errors::DataError; diff --git a/podcasts-downloader/src/lib.rs b/podcasts-downloader/src/lib.rs index d3e95fa..30e2de8 100644 --- a/podcasts-downloader/src/lib.rs +++ b/podcasts-downloader/src/lib.rs @@ -1,3 +1,23 @@ +// lib.rs +// +// Copyright 2017 Jordan Petridis +// +// This program 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. +// +// This program 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 this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + + #![recursion_limit = "1024"] #![allow(unknown_lints)] #![cfg_attr(feature = "cargo-clippy", allow(blacklisted_name, option_map_unit_fn))]