Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serdect v0.3.0 #1631

Merged
merged 1 commit into from
Jan 6, 2025
Merged

serdect v0.3.0 #1631

merged 1 commit into from
Jan 6, 2025

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
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.

1 participant