summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-10-02 17:51:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-10-02 17:51:05 +0200
commit36243b3056b1843dacbce07292612c51bc22df21 (patch)
treec37ecf0790931ef4717d44eef9aac20c62d8bde8 /src
parent26506446abed9d86fe4d0fddbb2a1054cd2f5ab0 (diff)
Relicense to MPL 2.0
This commit removes the LGPL LICENSE text and adds the MPL 2.0 license text in the LICENSE file. It also rewrites the README.md file to state the correct license. Last but not least, it adds the recommended license notice as comment to all source files. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src')
-rw-r--r--src/annotation.rs6
-rw-r--r--src/date.rs6
-rw-r--r--src/error.rs6
-rw-r--r--src/import.rs6
-rw-r--r--src/lib.rs6
-rw-r--r--src/priority.rs6
-rw-r--r--src/project.rs6
-rw-r--r--src/result.rs6
-rw-r--r--src/status.rs6
-rw-r--r--src/tag.rs6
-rw-r--r--src/task.rs6
11 files changed, 66 insertions, 0 deletions
diff --git a/src/annotation.rs b/src/annotation.rs
index f69334f..a01f02a 100644
--- a/src/annotation.rs
+++ b/src/annotation.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing types and functions for annotations of tasks
use std::result::Result as RResult;
diff --git a/src/date.rs b/src/date.rs
index ee91a81..ec554fb 100644
--- a/src/date.rs
+++ b/src/date.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module for wrapping chrono::naive::datetime::NaiveDateTime
use std::error::Error;
diff --git a/src/error.rs b/src/error.rs
index c2aac38..73b2d8a 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Error module, containing error types
use std::error::Error;
diff --git a/src/import.rs b/src/import.rs
index c921830..117be36 100644
--- a/src/import.rs
+++ b/src/import.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing the `import()` function
use std::io::BufRead;
diff --git a/src/lib.rs b/src/lib.rs
index 7afe065..ea484d0 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! This crate exports functionality to import and export taskwarrior-compatible JSON by
//! translating the JSON into rust types and vice-versa.
//!
diff --git a/src/priority.rs b/src/priority.rs
index 16b1c74..f9f365f 100644
--- a/src/priority.rs
+++ b/src/priority.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing TaskPriority types and trait impls
use serde::Serialize;
diff --git a/src/project.rs b/src/project.rs
index 1bebbeb..e59a6e4 100644
--- a/src/project.rs
+++ b/src/project.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing `Project` type
/// Typedef for Project type.
diff --git a/src/result.rs b/src/result.rs
index f450c5a..970c0f7 100644
--- a/src/result.rs
+++ b/src/result.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing `Result` type
use std::result::Result as RResult;
diff --git a/src/status.rs b/src/status.rs
index 4fa90a9..6212e56 100644
--- a/src/status.rs
+++ b/src/status.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing `TaskStatus` type and trait impls
use std::fmt::{Display, Formatter};
diff --git a/src/tag.rs b/src/tag.rs
index 1c8ae82..2d673cb 100644
--- a/src/tag.rs
+++ b/src/tag.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing `Tag` type
/// type definition for tags
diff --git a/src/task.rs b/src/task.rs
index bae978e..a354437 100644
--- a/src/task.rs
+++ b/src/task.rs
@@ -1,3 +1,9 @@
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+//
+
//! Module containing `Task` type as well as trait implementations
use std::result::Result as RResult;