meithecatte/enumflags2

Include LICENSE files in enumflags2_derive

Closed this issue · 3 comments

There are many variants of MIT and also Apache-2.0 requires text of license to be present along with source.

Please add those files into the _derive sub-crate, either using symlink or copy files inside subfolder.

Thanks!

We are taking archives from crates.io when building packages. Since those are separate units and are not aware of workspaces and such. That means they are built, tested and published separately.

So it is required to have the license text to be there. In latest cargo, if you specify license-file it would include that file from any place of workspace, but you can't specify multiple files there.

Is it a problem to just add a 2 symlinks in that folder?