Repository: achanda/ipnetwork (language: rust)

Issue:
Relicense to a dual license?
The Apache 2.0 license is more complicated than it needs to be, and the patent clause can get in the way in some scenarios. I would like to respectfully ask that the author, @achanda, and other contributors (primarily @faern) agree to add a second license that does not mention patents (BSD-2-Clause, MIT, BSD-3-Clause, 0BSD, are all great options). This is common in Rust projects that I have seen (including the language implementation itself).


Discussion / hints:
`MIT OR Apache-2.0` is basically the de facto standard license for most crates on crates.io. I don't have anything against adopting said dual license in this crate.

Fix patch:
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 <abhishek.becs@gmail.com>", "Linus Färnstrand <faern@faern.net>"]
 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.


Test patch: