Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.45 KB

File metadata and controls

33 lines (22 loc) · 1.45 KB

concise_vec

Crates.io Docs.rs License

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_std Compatible: Designed with minimalistic environments in mind, featuring configurable std and alloc features.
  • High layout optimization using custom uninitialized strategies and field alignments.

Installation

Run this command in your project root:

cargo add concise_vec

Because of the heavy reliance on nightly features, ensure you run your project with a nightly toolchain:

rustup override set nightly

License

This project is dual-licensed under either the MIT license or the Apache License, Version 2.0, at your option.