26 releases
new 0.2.3 | Dec 7, 2024 |
---|---|
0.2.1 | Oct 20, 2024 |
0.2.0-rc.11 | Sep 30, 2024 |
0.2.0-rc.9 | Jun 23, 2024 |
0.1.0 | May 7, 2022 |
#57 in Data structures
62,553 downloads per month
Used in 356 crates
(8 directly)
75KB
2K
SLoC
RustCrypto: Hybrid Const Generic / Typenum Arrays
Hybrid array type combining const generics with the expressiveness of
typenum
-based constraints, providing an alternative to generic-array
and a incremental transition path to const generics.
About
This crate uses typenum
to enable the following features which aren't yet
possible with the stable implementation of const generics:
- #60551: Associated constants in traits can not be used in const generics
- #76560: Complex generic constants:
feature(generic_const_exprs)
Internally the crate is built on const generics and provides traits which make
it possible to convert between const generic types and typenum
types.
License
Licensed under either of:
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~120–355KB