oconnor663 / blake2_simd

high-performance implementations of BLAKE2b/s/bp/sp in pure Rust with dynamic SIMD
MIT License
126 stars 22 forks source link

Symlink license file so it get published in the crates #31

Open michel-slm opened 10 months ago

michel-slm commented 10 months ago

The LICENSE file is in the top-level repo directory, but not in each of the crates published to crates.io. This means it's missing from the packaged crates.

Symlink them into place.

michel in blake2_simd/blake2_bin on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify
   Packaging blake2_bin v1.0.2 (/home/michel/src/github/oconnor663/blake2_simd/blake2_bin)
    Updating crates.io index
    Packaged 7 files, 41.0KiB (11.7KiB compressed)

michel in blake2_simd/blake2_bin on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ bsdtar tf target/package/blake2_bin-1.0.2.crate | grep LICENSE
blake2_bin-1.0.2/LICENSE

michel in blake2_simd/blake2_bin on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ cd ../blake2b

michel in blake2_simd/blake2b on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify
   Packaging blake2b_simd v1.0.2 (/home/michel/src/github/oconnor663/blake2_simd/blake2b)
    Packaged 12 files, 143.0KiB (33.9KiB compressed)

michel in blake2_simd/blake2b on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ bsdtar tf target/package/blake2b_simd-1.0.2.crate | grep LICENSE
blake2b_simd-1.0.2/LICENSE

michel in blake2_simd/blake2b on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ cd ../blake2s

michel in blake2_simd/blake2s on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ cargo package --allow-dirty --no-verify
   Packaging blake2s_simd v1.0.2 (/home/michel/src/github/oconnor663/blake2_simd/blake2s)
    Packaged 12 files, 143.9KiB (33.3KiB compressed)

michel in blake2_simd/blake2s on ξ‚  add-license [+] is πŸ“¦ v1.0.2 via 🐍 v3.11.6 (.venv311) via πŸ¦€ v1.73.0
⬒ [fedora-toolbox:38] ❯ bsdtar tf target/package/blake2s_simd-1.0.2.crate | grep LICENSE
blake2s_simd-1.0.2/LICENSE