Change License

This changes the effective license from a simple Apache-2.0 license to a
dual license consisting of both Apache-2.0 and the MIT license to be more
compatible for use in GPL Code.

The MIT license requires reproducing countless copies of the same copyright
header with diffferent names in the copyright field, for every MIT library
in use.  The Apache license does not have this drawback.  However, this is not
the primary motivation for creating these issues.  The Apache license also has
protections from patent trolls and explicit contribuition licensing clause.
However the Apache license is incompatible with GPLv2.  This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project.  This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache.
This commit is contained in:
Anthony Oteri
2023-10-03 09:36:43 -04:00
parent c7305f8cc4
commit 0e4219b405
14 changed files with 99 additions and 105 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ description = "A Command Line tool for interracting with the Docker Registry API
readme = "README.md"
repository = "https://github.com/anthonyoteri/dredge"
rust-version = "1.72"
license-file = "LICENSE"
license = "MIT OR Apache-2.0"
keywords = [
"docker",
"registry",