Skip to content

rscrypto v0.1.1

Choose a tag to compare

@loadingalias loadingalias released this 03 May 15:31
· 84 commits to main since this release
v0.1.1
e13af2d

Patch release. No API changes; safe drop-in for v0.1.0.

Changes

  • Trim published crate. Removed tests/, testdata/, and benches/ from the package include list. Compressed crate size dropped from 1.61 MiB → 0.88 MiB (~45% reduction). Users who only enable a few features still download the same tarball, so this directly cuts cache footprint and CI download time across the ecosystem.
  • Fix README Quick Start. Removed four unused-import warnings (Aead, Mac, Blake3, Kmac256) and added the missing FastHash trait import so Xxh3::hash(...) compiles. Copy-pasting from the README now produces zero warnings.
  • Wire README into the doctest harness. Added ReadmeDoctests (gated on cfg(doctest) + full + getrandom) so every rust block in README.md runs as a doc test under cargo test --doc --features "full getrandom". Prevents the Quick Start from silently rotting again.

Get it

[dependencies]
rscrypto = { version = "0.1", default-features = false, features = ["sha2"] }