testcontainers-rs icon indicating copy to clipboard operation
testcontainers-rs copied to clipboard

Include LICENSE file in published crates

Open danielmellado opened this issue 11 months ago • 1 comments

Apache-2.0 license term include a requirement that the (re)distributed sources contain a copy of the license text. Similar conditions apply to the MIT one. This is a problem for Linux distributions wanting to include and package the crates from this projecs, affecting also creates.io

This PR includes a symlink to the LICENSEs and README files in the crate, which should make cargo publish include these files when publishing to crates.io.

Signed-off-by: Daniel Mellado [email protected]

danielmellado avatar Feb 27 '24 11:02 danielmellado

This PR includes a symlink to the LICENSEs and README files in the crate, which should make cargo publish include these files when publishing to crates.io.

Can we just tell cargo to instead include these via https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields?

thomaseizinger avatar Mar 05 '24 05:03 thomaseizinger

Will be solved with #568 by reusing workspace configs

Thanks for efforts!

DDtKey avatar Apr 06 '24 22:04 DDtKey