Hybrid typenum/const generic arrays
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-03 22:39:20 +02:00
src chore: sync dependencies (monorepo) 2026-03-30 09:25:57 +02:00
tests Add ctutils support (#177) 2026-03-08 13:57:49 -06:00
.gitignore Import sources from RustCrypto/utils (#1) 2024-01-10 20:06:19 -07:00
Cargo.lock chore: sync dependencies (monorepo) 2026-04-13 10:53:34 +02:00
Cargo.toml fix(hybrid-array): Replace path deps with git refs for all dependencies 2026-06-03 22:39:20 +02:00
LICENSE-APACHE Import sources from RustCrypto/utils (#1) 2024-01-10 20:06:19 -07:00
LICENSE-MIT v0.4.6 (#166) 2026-01-22 14:55:55 -07:00
README.md README.md: add new MSRV policy 2025-09-10 14:13:05 -06:00

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.

Minimum Supported Rust Version (MSRV) Policy

MSRV increases are not considered breaking changes and can happen in patch releases.

The crate MSRV accounts for all supported targets and crate feature combinations, excluding explicitly unstable features.

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.