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.
Cargo prints a nice warning about our mixed
license
+license-file
setup:license-file
was only added because its contents are automatically included in packaged output (seecargo 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.