A vector with fixed capacity.
Please read the API documentation here__
__ https://docs.rs/arrayvec
|buildstatus| |crates|_ |crates2|_
.. |buildstatus| image:: https://travis-ci.org/bluss/arrayvec.svg .. _buildstatus: https://travis-ci.org/bluss/arrayvec
.. |crates| image:: http://meritbadge.herokuapp.com/arrayvec .. _crates: https://crates.io/crates/arrayvec
.. |crates2| image:: http://meritbadge.herokuapp.com/nodrop .. _crates2: https://crates.io/crates/nodrop
0.4.8
IntoIter by @clarcharrAdd more array sizes under crate features. These cover all in the range up to 128 and 129 to 255 respectively (we have a few of those by default):
array-size-33-128
array-size-129-2550.4.7
drop_in_place when dropping the arrayvec by-value iterator0.3.25
0.4.6
0.3.24
0.4.5
Add methods to ArrayString by @DenialAdams:
.pop() -> Option<char>
.truncate(new_len).remove(index) -> char
Remove dependency on crate odds
0.4.4
ArrayVec::truncate() by @niklasf0.4.3
ArrayVec::extend with a lower level
implementation (#74)0.4.2
new to CapacityError.0.4.1
Default impl to ArrayString by @tbu-0.4.0
Reformed signatures and error handling by @bluss and @tbu-:
ArrayVec's push, insert, remove, swap_remove now match Vec's
corresponding signature and panic on capacity errors where applicable.
try_push, insert and checked methods
pop_at, swap_pop.Similar changes to ArrayString's push methods.
Use a local version of the RangeArgument trait
.push_unchecked() by @niklasfArrayString implements PartialOrd, Ord by @tbu-use_generic_array was dropped.0.3.23
PartialOrd, Ord as well as PartialOrd<str> for
ArrayString.0.3.22
Array for the 65536 size0.3.21
encode_utf8 from crate oddsArrayString::from_byte_string0.3.20
ArrayString’s .push(char)-0.3.19
use_generic_array which allows using their
GenericArray just like a regular fixed size array for the storage
of an ArrayVec.0.3.18
ArrayVec::insert!
It would be buggy if self.len() < index < self.capacity(). Take note of
the push out behavior specified in the docs.0.3.17
use_union which forwards to the nodrop crate feature.is_full() to ArrayVec and ArrayString.0.3.16
.retain() to ArrayVec..as_slice(), .as_mut_slice() to ArrayVec and .as_str()
to ArrayString.0.3.15
no_std (requires Rust 1.6
to opt out).Clone::clone_from for ArrayVec and ArrayString0.3.14
ArrayString::from(&str)0.3.13
DerefMut impl for ArrayString..simplify() to drop the element for CapacityError..dispose() to ArrayVec0.3.12
0.3.11
0.3.10
0.3.8
0.3.7
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.