etemesi254 / zune-image

A fast and memory efficient image library in Rust
Other
332 stars 30 forks source link

add license files for MIT/Apache-2.0 and include license texts in crates #206

Closed decathorpe closed 5 months ago

decathorpe commented 5 months ago

This PR is meant to address https://github.com/etemesi254/zune-image/issues/203. Sorry for the delay.

I have added the standard license texts for the MIT and Apache-2.0 licenses as LICENSE-MIT and LICENSE-APACHE, matching the existing LICENSE-ZLIB file.

The texts should be 100% matches for the standard license texts for the three MIT / Apache-2.0 / Zlib SPDX identifiers (see entries on choosealicense.com or opensource.org).

I have renamed the LICENSE.md file to COPYRIGHT.md, which seems to be the actual purpose of this file, and updated its contents to match the actual project license. The contents of the file still claimed the project was Apache-2.0 OR MIT, and did not mention the new Zlib option at all. This is now fixed.

I have verified that running cargo package for all crates in this workspace now results in the license texts being included in the files that are packaged by cargo, so they will also be included when cargo publish is run in the future.

Note that you might need to check that this works as expected if you do cargo publish from an OS that does not support symbolic links properly.

etemesi254 commented 5 months ago

Thanks

decathorpe commented 5 months ago

Thank you!