diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-02 17:51:05 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-02 17:51:05 +0200 |
commit | 36243b3056b1843dacbce07292612c51bc22df21 (patch) | |
tree | c37ecf0790931ef4717d44eef9aac20c62d8bde8 /src | |
parent | 26506446abed9d86fe4d0fddbb2a1054cd2f5ab0 (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.rs | 6 | ||||
-rw-r--r-- | src/date.rs | 6 | ||||
-rw-r--r-- | src/error.rs | 6 | ||||
-rw-r--r-- | src/import.rs | 6 | ||||
-rw-r--r-- | src/lib.rs | 6 | ||||
-rw-r--r-- | src/priority.rs | 6 | ||||
-rw-r--r-- | src/project.rs | 6 | ||||
-rw-r--r-- | src/result.rs | 6 | ||||
-rw-r--r-- | src/status.rs | 6 | ||||
-rw-r--r-- | src/tag.rs | 6 | ||||
-rw-r--r-- | src/task.rs | 6 |
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; @@ -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}; @@ -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; |