Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Jan 6, 2025

NOTE: this release includes major breaking changes to the wire format, namely all bytestrings now include a length prefix, even when serializing fixed-size arrays. This is intended to work around deficiencies in the serde API (see serde-rs/serde#2120) as well as serde-based format implementations which have variable-time behavior when using serialize_tuple.

Any binary data serialized with previous versions of serdect now needs a length prefix prepended to the data, which will vary depending on the particular data format.

Changed

  • Switch to length-prefixed encoding using the serialize_bytes method (#1112, #1515)
  • MSRV 1.70 (#1244)

@tarcieri tarcieri merged commit f8d280b into master Jan 6, 2025
165 checks passed
@tarcieri tarcieri deleted the serdect/v0.3.0 branch January 6, 2025 17:55
tarcieri added a commit to RustCrypto/crypto-bigint that referenced this pull request Jan 6, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
tarcieri added a commit to RustCrypto/crypto-bigint that referenced this pull request Jan 6, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
scv35 added a commit to scv35/Slibs-crypto-bigint that referenced this pull request Jul 4, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
zhifenxing071346lorrainewyatt added a commit to zhifenxing071346lorrainewyatt/crypto-bigint that referenced this pull request Oct 4, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
charlizemorgenbriancox added a commit to charlizemorgenbriancox/crypto-bigint that referenced this pull request Oct 10, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
shell-rider609bn added a commit to shell-rider609bn/crypto-bigint that referenced this pull request Oct 21, 2025
NOTE: this release includes breaking changes to the wire format.
See RustCrypto/formats#1631
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants