Skip to content

Paladynee/concise_vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

most overengineered stack vector type in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages