Closed decathorpe closed 4 months ago
Any reason not to just copy the files? It's not like they are going to change...
Any reason not to just copy the files? It's not like they are going to change...
Not really. Looking at other projects where multiple crates are published from the same repo, using symbolic links just seems to be the standard practice.
Thank you!
Both the Apache-2.0 and MIT licenses require that (re)distributed sources contain a copy of the original license text. As of right now, the sources published and redistributed via crates.io for the typed-builder-macro crate do not contain license texts.
This PR adds symbolic links that point at the license texts in the project's root directory, which is enough for "cargo package" / "cargo publish" to resolve and include them when publishing to crates.io in most circumstances (unless you're running the "cargo publish" command on Windows, AFAIK).