Skip to content

Upgrading arrayvec 0.6 to 0.7

Breaking0.6.1 → 0.7.8Breaking2New10Changed6Fixed5Other4

BreakingUpgrade verdict

2 breaking changes.

  • The deprecated feature flag unstable-const-fn was removed, since it's not needed.
  • The internal memory layout of these types changed, which can matter if you rely on it or on unsafe code.
2 items need code or config changes

Requires Rust 1.51 from 0.7.5 (none stated before).

Adds borsh ^1.2.0, zeroize ^1.4.

Installs 12 packages in all (was 9).

Breaking2
The deprecated feature flag unstable-const-fn was removed, since it's not needed.
unstable-const-fn
Moves the length field before the data in ArrayVec and ArrayString, changing their memory layout.
ArrayVecArrayString