array-tools

Crates.ioarray-tools
lib.rsarray-tools
version0.3.2
sourcesrc
created_at2019-08-06 01:17:23.058597
updated_at2021-02-22 13:02:09.29923
descriptionA little collection of array-related utils aiming to make life easier.
homepagehttps://github.com/L117/array-tools
repositoryhttps://github.com/L117/array-tools
max_upload_size
id154440
size71,274
Mikhail "L117" Nikolenko (L117)

documentation

README

Array Tools

Crate Documentation Build Status Build status

A collection of tools to help dealing with our beloved ❤️ fixed size arrays (Including generic contexts).

Stability notice

Requires nightly.

This crate depends on FixedSizeArray trait, which is currently experimental. Because of this, crate is experimental as well. No other sources of severe breakage should be expected.

Features

  • Metafeature: all features below should work for arrays of any size.
  • Initialization with iterator.
  • Initialization with function (with or without index as argument).
  • Consuming iterator.
  • Consuming chunks iterator.
  • Consuming split.
  • Consuming join.
  • No dependency on std and no heap allocations, thanks to underlaying fixed-capacity stack-allocated deque-like structure.

Examples

See documentation for examples, it covers most if not all use cases.

Contributing

Contributions of any shape and form are welcome.

Commit count: 0

cargo fmt