From ba98a18082ad4c7e7d3ade49a47393097bba437a Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Fri, 10 Aug 2018 11:34:17 +0200 Subject: [PATCH] include license headers --- README.md | 7 ++++--- src/display.rs | 15 +++++++++++++++ src/lib.rs | 22 +++++++++++++++++++--- src/traits.rs | 15 +++++++++++++++ 4 files changed, 53 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d66d217..daed199 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,11 @@ compiler. When they are implemented, Fixed will require the ## License -This crate is licensed under either the +This crate is free software: you can redistribute it and/or modify it +under the terms of either - * [Apache License, Version 2.0][LICENSE-APACHE] or - * [MIT License][LICENSE-MIT] + * the [Apache License, Version 2.0][LICENSE-APACHE] or + * the [MIT License][LICENSE-MIT] at your option. diff --git a/src/display.rs b/src/display.rs index 7703aac..e029b11 100644 --- a/src/display.rs +++ b/src/display.rs @@ -1,3 +1,18 @@ +// Copyright © 2018 Trevor Spiteri + +// This library is free software: you can redistribute it and/or +// modify it under the terms of either +// +// * the Apache License, Version 2.0 or +// * the MIT License +// +// at your option. +// +// You should have recieved copies of the Apache License and the MIT +// License along with the library. If not, see +// and +// . + use std::cmp::Ordering; use std::fmt::{Binary, Debug, Display, Formatter, LowerHex, Octal, Result as FmtResult, UpperHex}; use std::str; diff --git a/src/lib.rs b/src/lib.rs index 1005d9c..9830f24 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,18 @@ +// Copyright © 2018 Trevor Spiteri + +// This library is free software: you can redistribute it and/or +// modify it under the terms of either +// +// * the Apache License, Version 2.0 or +// * the MIT License +// +// at your option. +// +// You should have recieved copies of the Apache License and the MIT +// License along with the library. If not, see +// and +// . + /*! # Fixed-point numbers @@ -31,10 +46,11 @@ compiler. When they are implemented, Fixed will require the ## License -This crate is licensed under either the +This crate is free software: you can redistribute it and/or modify it +under the terms of either - * [Apache License, Version 2.0][LICENSE-APACHE] or - * [MIT License][LICENSE-MIT] + * the [Apache License, Version 2.0][LICENSE-APACHE] or + * the [MIT License][LICENSE-MIT] at your option. diff --git a/src/traits.rs b/src/traits.rs index bc6c754..2af5c59 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -1,3 +1,18 @@ +// Copyright © 2018 Trevor Spiteri + +// This library is free software: you can redistribute it and/or +// modify it under the terms of either +// +// * the Apache License, Version 2.0 or +// * the MIT License +// +// at your option. +// +// You should have recieved copies of the Apache License and the MIT +// License along with the library. If not, see +// and +// . + use std::cmp::Ordering; use std::mem;