Update license SPDX expression for Zlib code in src/combine.rs #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Problem
The file
src/combine.rscontains some code that isZlib-licensed,crc-fast-rust/src/combine.rs
Lines 10 to 34 in 3a853cc
but the license metadata implies the entire library is
MIT OR Apache-2.0.crc-fast-rust/Cargo.toml
Line 6 in 3a853cc
The Solution
Change the project license SPDX expression from
MIT OR Apache-2.0to(MIT OR Apache-2.0) AND Zlibto more accurately reflect the applicable licenses.Changes
One could also choose to add a separate license file for the
Zlibterms from the comment insrc/combine.rs. In general, this practice is useful, particularly for licenses (likeMITandApache-2.0) that impose a requirement to include the license text with binary distributions. It’s very difficult for users and redistributors to do that when the license text is only in the source code. In this case, I haven’t bothered, largely because theZliblicense only appears to require the license text to be preserved in source distributions.Planned version bump
I don’t think this is really my choice, is it?
MAJOR,MINOR,PATCH]Links
N/A
Notes
N/A
[ @mentions for anyone who should be alerted to this PR ]
[ Please assign reviewers if you want someone specific to review this ]
[ Please do not forget to add labels specific to this PR ]