From fa128680b51fbcf9c37db99f011c91204c4a3b0d Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Wed, 26 Feb 2020 13:47:18 +0000 Subject: [PATCH] Dual license this project closes #127 --- Cargo.toml | 2 +- LICENSE.md => LICENSE-APACHE.md | 0 LICENSE-MIT.md | 25 +++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) rename LICENSE.md => LICENSE-APACHE.md (100%) create mode 100644 LICENSE-MIT.md diff --git a/Cargo.toml b/Cargo.toml index 69e061b..c1f38f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "ipnetwork" version = "0.16.0" # When updating version, also modify html_root_url in the lib.rs authors = ["Abhishek Chanda ", "Linus Färnstrand "] description = "A library to work with IP CIDRs in Rust" -license = "Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/achanda/ipnetwork" keywords = ["network", "ip", "address", "cidr"] readme = "README.md" diff --git a/LICENSE.md b/LICENSE-APACHE.md similarity index 100% rename from LICENSE.md rename to LICENSE-APACHE.md diff --git a/LICENSE-MIT.md b/LICENSE-MIT.md new file mode 100644 index 0000000..edbe9ca --- /dev/null +++ b/LICENSE-MIT.md @@ -0,0 +1,25 @@ +Copyright 2020 Developers of the ipnetwork project + +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.