BLAKE3-team / BLAKE3

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

Generate shell completions and man page for `b3sum` at build time #391

Open sorairolake opened 2 months ago

sorairolake commented 2 months ago

With this change, the following files will be generated when building b3sum:

To find where these files are generated run the following command in b3sum/:

find ./target -path '*/b3sum-*/out' -type d

To use these, install them to the destination (e.g., /usr/share/man/man1 or /usr/share/bash-completion/completions).

Also, I set rust-version to Cargo.toml. This is based on the value of .github/workflows/ci.yml. If there is no value, 1.56.0 is set based on edition.

This closes #190 and closes #235.

sorairolake commented 2 months ago

Bump the MSRV of blake3 to 1.72.0. This is because the MSRV of zeroize v1.8.0 is 1.72.0, and the CI will fail if the MSRV of blake3 isn't bumped.