A fork of RustCrypto's hybrid-array
0.4.14 with exactly one added line: a missing const-generic array-size table
entry, 513 => U513,, in src/sizes.rs. That fix landed upstream in
RustCrypto/hybrid-array#233
(merged 2026-08-11) but has not shipped in a release since 0.4.14 — see
RustCrypto/hybrid-array#66
for the tracking issue. This crate exists only to make that already-merged fix
consumable from crates.io in the meantime.
No other change has been made. Every other file is byte-for-byte identical
to upstream hybrid-array 0.4.14. This crate is not affiliated with, endorsed
by, or a replacement for hybrid-array — once a release past 0.4.14 ships
covering size 513, dependents should switch back to plain hybrid-array and
this crate can be treated as obsolete.
The published package name is nestler-array (so it doesn't collide with
or misrepresent the real hybrid-array on crates.io), but the library is
still internally named hybrid_array (see the [lib] section of
Cargo.toml). This lets a dependent add it as:
[dependencies]
hybrid-array = { package = "nestler-array", version = "0.1" }— which means any code written against hybrid-array (use hybrid_array::...)
keeps working completely unchanged. This is precisely how
bp512-nestler consumes it.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option — the same dual license as upstream hybrid-array, which this
crate is built directly from. Per the Apache License's requirement to mark
modified files, src/sizes.rs carries a comment identifying the one added
line and why.
Copyright © the RustCrypto Developers (original work) and Sebastian Nestler (nestler.dev) (the one-line size-table addition).