concise_vec
A concise, highly optimized vector implementation leveraging const generics and advanced compile-time evaluation features in Rust.
Experimental Notice
Note: concise_vec heavily utilizes experimental Rust nightly features (such as generic_const_exprs, const_trait_impl, const_slice_make_iter, etc.) to achieve its compile-time guarantees and zero-cost abstractions. You will need a nightly Rust compiler to build this crate.
Features
- Const Generics & Metaprogramming: Moves many structural and algebraic checks to compile time.
no_stdCompatible: Designed with minimalistic environments in mind, featuring configurablestdandallocfeatures.- High layout optimization using custom uninitialized strategies and field alignments.
Installation
Run this command in your project root:
Because of the heavy reliance on nightly features, ensure you run your project with a nightly toolchain:
License
This project is dual-licensed under either the MIT license or the Apache License, Version 2.0, at your option.