Crates.io | hybrid-array |
lib.rs | hybrid-array |
version | 0.2.0-rc.9 |
source | src |
created_at | 2022-05-07 22:20:04.543997 |
updated_at | 2024-06-23 16:42:50.618494 |
description | Hybrid typenum-based and const generic array types designed to provide the flexibility of typenum-based expressions while also allowing interoperability and a transition path to const generics |
homepage | |
repository | https://github.com/RustCrypto/hybrid-array |
max_upload_size | |
id | 582267 |
size | 82,260 |
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.
This crate uses typenum
to enable the following features which aren't yet
possible with the stable implementation of const generics:
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.
This crate exposes the following feature flags. The default is NO features.
zeroize
- Implements Zeroize
for Array<T: Zeroize, U>
Licensed under either of:
at your option.
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.