quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

ensure LICENSE files are present in all published crates #1698

Closed decathorpe closed 1 year ago

decathorpe commented 1 year ago

This PR adds symbolic links for the LICENSE-APACHE and LICENSE-MIT files into the quinn, quinn-proto, and quinn-udp workspace members so that cargo package / cargo publish picks them up and includes them when publishing crates.

Both the Apache-2.0 and the MIT license requires that (re)distributed sources contain a copy of the license text. Not including the license text is a problem, especially for Linux distributions that package this crate as a dependency, for example, for the HTTP/3 support in the reqwest crate.

I have not added a symlink into workspace members that have publish = false set in their cargo metadata.

decathorpe commented 1 year ago

Thanks for merging! Backporting to 0.10.x and a new release are not necessary.