Skip to content

v0.10.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mcginty mcginty released this 16 Jun 14:38
· 6 commits to main since this release

This latest beta cleans out the dependency graph, such that snow now only has one required dependency (on subtle)! Shoutout to @complexspaces for the work.

changes since v0.10.0-beta.1

  • Updated Rust edition to 2024
  • Remove dependency on rand, and feature-gated dependency on getrandom
  • Removed unused byteorder dependency

Quick Summary

snow is now no_std-friendly, with only one required dependency now if you bring your own cryptographic provider!

This release also sees some breaking API changes in the builder to further prevent misuse/abuse - more builder functions now return Result<Self, Error> instead of Self.

The P-256 curve is now also available as a non-default feature for those of you needing more curves in your life.

New

Improvements

Migrating from 0.9

The main change you'll likely notice is the need to add expect(...) or ? to a few builder functions that have been updated to further limit the chance of misuse.

Here are all the semver-breaking changes:

  • Builder function fallibility: more functions in the builder now return a Result to more explicitly prohibit calling the same setter twice.
  • DHChoice::Ed448 has been renamed to DHChoice::Curve448
  • Multiple new error enum variants have been added.

New Contributors

Full Changelog: v0.9.0...v0.10.0-beta.1