v0.10.0-beta.2
Pre-releaseThis 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 ongetrandom - Removed unused
byteorderdependency
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
- Add support for NIST P-256 curve by @AlfioEmanueleFresta in #185
no_stdsupport withallocby @jmlepisto #183
Improvements
- Removed dependency on
randby @complexspaces in #193 - Update dead docs link for forming NoiseParams strings by @thombles in #129
- Fix documentation reference to parameters in examples/simple.rs by @okdistribute in #113
- Update various links by @robyoder in #151
- Fix nonce incrementing in stateful transport to match the specification by @complexspaces in #152
- s/Ed448/Curve448/ by @dconnolly in #155
- curve25519_dalek 4 by @kayabaNerve in #161
- Bump aes-gcm and chacha20poly1305 by @kayabaNerve in #166
- Simplify example code by @BlackHoleFox in #175
- added example for oneway pattern Xpsk1 by @bluen in #186
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
Resultto more explicitly prohibit calling the same setter twice. DHChoice::Ed448has been renamed toDHChoice::Curve448- Multiple new error enum variants have been added.
New Contributors
- @thombles made their first contribution in #129
- @okdistribute made their first contribution in #113
- @robyoder made their first contribution in #151
- @complexspaces made their first contribution in #152
- @dconnolly made their first contribution in #155
- @kayabaNerve made their first contribution in #161
- @AlfioEmanueleFresta made their first contribution in #185
- @bluen made their first contribution in #186
- @jmlepisto made their first contribution in #183
Full Changelog: v0.9.0...v0.10.0-beta.1