Traverse-Research / ispc-downsampler

Image downsampler using a Lanczos filter implemented in ISPC
Other
11 stars 1 forks source link

cargo: Divert back to explicitly including license files, add APACHE #6

Closed MarijnS95 closed 2 years ago

MarijnS95 commented 2 years ago

Cargo prints a nice warning about our mixed license + license-file setup:

warning: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.

license-file was only added because its contents are automatically included in packaged output (see cargo package -l) but its use is discouraged (per the warning above) if the license can be expressed in simple terms through SPDX - which is the case for us.

Also add an APACHE license file since our SPDX identifier states that we dual-license this crate.