BLAKE3-team / BLAKE3

the official Rust and C implementations of the BLAKE3 cryptographic hash function
Apache License 2.0
5.06k stars 346 forks source link

Fix missing LICENSE file in b3sum crate #371

Closed musicinmybrain closed 6 months ago

musicinmybrain commented 8 months ago

Add a symbolic link to the top-level license file; this is dereferenced by cargo publish, and the LICENSE appears as a regular file in the published crate.

Working in the b3sum/ subdirectory, before this PR:

$ cargo publish -n
$ tar -tzvf target/package/b3sum-1.5.0.crate
-rw-r--r-- 0/0              99 1969-12-31 19:00 b3sum-1.5.0/.cargo_vcs_info.json
-rw-r--r-- 0/0              12 2006-07-23 21:21 b3sum-1.5.0/.gitignore
-rw-r--r-- 0/0           14638 1969-12-31 19:00 b3sum-1.5.0/Cargo.lock
-rw-r--r-- 0/0            1321 1969-12-31 19:00 b3sum-1.5.0/Cargo.toml
-rw-r--r-- 0/0             687 2006-07-23 21:21 b3sum-1.5.0/Cargo.toml.orig
-rw-r--r-- 0/0            2467 2006-07-23 21:21 b3sum-1.5.0/README.md
-rw-r--r-- 0/0           16641 2006-07-23 21:21 b3sum-1.5.0/src/main.rs
-rw-r--r-- 0/0            6020 2006-07-23 21:21 b3sum-1.5.0/src/unit_tests.rs
-rw-r--r-- 0/0           19974 2006-07-23 21:21 b3sum-1.5.0/tests/cli_tests.rs
-rw-r--r-- 0/0            7013 2006-07-23 21:21 b3sum-1.5.0/what_does_check_do.md

After this PR:

$ cargo publish -n
$ tar -tzvf target/package/b3sum-1.5.0.crate                                                                               -rw-r--r-- 0/0              99 1969-12-31 19:00 b3sum-1.5.0/.cargo_vcs_info.json
-rw-r--r-- 0/0              12 2006-07-23 21:21 b3sum-1.5.0/.gitignore          -rw-r--r-- 0/0           14638 1969-12-31 19:00 b3sum-1.5.0/Cargo.lock
-rw-r--r-- 0/0            1321 1969-12-31 19:00 b3sum-1.5.0/Cargo.toml
-rw-r--r-- 0/0             687 2006-07-23 21:21 b3sum-1.5.0/Cargo.toml.orig
-rw-r--r-- 0/0           18691 2006-07-23 21:21 b3sum-1.5.0/LICENSE
-rw-r--r-- 0/0            2467 2006-07-23 21:21 b3sum-1.5.0/README.md
-rw-r--r-- 0/0           16641 2006-07-23 21:21 b3sum-1.5.0/src/main.rs
-rw-r--r-- 0/0            6020 2006-07-23 21:21 b3sum-1.5.0/src/unit_tests.rs
-rw-r--r-- 0/0           19974 2006-07-23 21:21 b3sum-1.5.0/tests/cli_tests.rs
-rw-r--r-- 0/0            7013 2006-07-23 21:21 b3sum-1.5.0/what_does_check_do.md
musicinmybrain commented 6 months ago

The LICENSE file remains missing in 1.5.1.

oconnor663 commented 6 months ago

Thanks for the ping. Merged.

musicinmybrain commented 6 months ago

Thanks!