arrayvec 0.4.8

A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
Documentation

arrayvec provides the types ArrayVec and ArrayString: array-backed vector and string types, which store their contents inline.

The arrayvec package has the following cargo features:

  • std

  • Optional, enabled by default

  • Use libstd; disable to use no_std instead.

  • use_union

  • Optional

  • Requires Rust nightly channel

  • Experimental: This flag uses nightly so it may break unexpectedly at some point; since it doesn't change API this flag may also change to do nothing in the future.

  • Use the unstable feature untagged unions for the internal implementation, which may have reduced space overhead

  • serde-1

  • Optional

  • Enable serialization for ArrayVec and ArrayString using serde 1.0

  • array-sizes-33-128, array-sizes-129-255

  • Optional

  • Enable more array sizes (see [Array] for more information)

Rust Version

This version of arrayvec requires Rust 1.13 or later.