From 429a530b65243fddf59e4861ff44cef38c44f8e3 Mon Sep 17 00:00:00 2001 From: Ilya Epifanov Date: Fri, 2 Mar 2018 21:02:25 +0100 Subject: [PATCH] added copyright notice and MIT license as a fallback --- Cargo.toml | 4 ++-- LICENSE => LICENSE-APACHE | 2 +- LICENSE-MIT | 25 +++++++++++++++++++++++++ README.md | 17 ++++++++++++++++- src/lib.rs | 8 ++++++++ 5 files changed, 52 insertions(+), 4 deletions(-) rename LICENSE => LICENSE-APACHE (99%) create mode 100644 LICENSE-MIT diff --git a/Cargo.toml b/Cargo.toml index 4d3139c..3f3e0d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "si5351" -version = "0.1.2" -categories = ["embedded-hal-driver", "ham-radio", "clock", "pll" ] +version = "0.1.3" +categories = ["embedded", "no-std", "embedded-hal-driver", "clock", "ham-radio" ] authors = ["Ilya Epifanov "] description = "A platform agnostic driver for the Si5351 clock generator" license = "MIT OR Apache-2.0" diff --git a/LICENSE b/LICENSE-APACHE similarity index 99% rename from LICENSE rename to LICENSE-APACHE index 261eeb9..3a55053 100644 --- a/LICENSE +++ b/LICENSE-APACHE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2018 Ilya Epifanov Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..b8f5571 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,25 @@ +Copyright (c) 2018 Ilya Epifanov + +Permission is hereby granted, free of charge, to any +person obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without +limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software +is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions +of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF +ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT +SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR +IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index c83d3c8..5afde20 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ -# si5351 \ No newline at end of file +# si5351 + +## License + +Licensed under either of + + * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE)) + * MIT license ([LICENSE-MIT](LICENSE-MIT)) + +at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any +additional terms or conditions. diff --git a/src/lib.rs b/src/lib.rs index 180a9bd..29b9014 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,11 @@ +/* + Copyright 2018 Ilya Epifanov + + Licensed under the Apache License, Version 2.0, or the MIT license , at your option. This file may not be + copied, modified, or distributed except according to those terms. +*/ //#![deny(missing_docs)] #![deny(warnings)] #![feature(unsize)]