hybrid-array

Crates.iohybrid-array
lib.rshybrid-array
version0.2.0-rc.9
sourcesrc
created_at2022-05-07 22:20:04.543997
updated_at2024-06-23 16:42:50.618494
descriptionHybrid 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
repositoryhttps://github.com/RustCrypto/hybrid-array
max_upload_size
id582267
size82,260
utils (github:rustcrypto:utils)

documentation

https://docs.rs/hybrid-array

README

RustCrypto: Hybrid Const Generic / Typenum Arrays

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

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:

Internally the crate is built on const generics and provides traits which make it possible to convert between const generic types and typenum types.

Features

This crate exposes the following feature flags. The default is NO features.

  • zeroize - Implements Zeroize for Array<T: Zeroize, U>

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.

Commit count: 64

cargo fmt