Skip to content

Conversation

samvrlewis
Copy link
Contributor

Description

The upcoming ed25519 signature message requires a fixed array of size 64
which currently breaks the Rust build because Serde does not currently
natively support serializing or deserialzing arrays with sizes larger
than 32.

The serde-big-array crates allows us to work around this issue by
using macros defined there for larger arrays.

API compatibility

No, it only allows bigger arrays to be serialized to JSON.

JIRA Reference

https://swift-nav.atlassian.net/browse/GV2-74

The upcoming ed25519 signature message requires a fixed array of size 64
which currently breaks the Rust build because Serde does not currently
natively support serializing or deserialzing arrays with sizes larger
than 32.

The `serde-big-array` crates allows us to work around this issue by
using macros defined there for larger arrays.
@samvrlewis samvrlewis requested review from notoriaga, silverjam and a team as code owners June 27, 2022 04:17
@samvrlewis samvrlewis merged commit 5aec8c6 into staging Jun 27, 2022
@samvrlewis samvrlewis deleted the slewis/rust-big-arrays branch June 27, 2022 05:34
samvrlewis added a commit that referenced this pull request Jul 6, 2022
The upcoming ed25519 signature message requires a fixed array of size 64
which currently breaks the Rust build because Serde does not currently
natively support serializing or deserialzing arrays with sizes larger
than 32.

The `serde-big-array` crates allows us to work around this issue by
using macros defined there for larger arrays.
samvrlewis added a commit that referenced this pull request Jul 6, 2022
The upcoming ed25519 signature message requires a fixed array of size 64
which currently breaks the Rust build because Serde does not currently
natively support serializing or deserialzing arrays with sizes larger
than 32.

The `serde-big-array` crates allows us to work around this issue by
using macros defined there for larger arrays.
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