- Implements
ToArrayString
forFixedString<u8>
under a feature gate.
- Documents Minimum Supported Rust Version
- Implements
std::error::Error
forInvalidLength
andInvalidStrLength
.
- Implements
FromStr
forFixedString
.
- Implements
clone_from
forFixedString
andFixedArray
.
- Removes the
Index<usize>
implementation fromFixedArray
. - Implements a
&'static str
variant ofFixedString
created withFixedString::from_str_static
.
- Returns LenT from
FixedArray::len
andFixedString::len
, instead ofu32
. - Implements indexing a
FixedArray
withLenT
, alongside theusize
indexing implementation. - Implements no-std support, with an optional
std
feature enabled by default. - Implements
Borrow<str>
forFixedString
, allowing aHashMap
ofFixedString
to be looked up via&str
.
- Improves FixedString to gain another SSO inline character. This comes at a tiny CPU performance hit that can be counteracted with the
nightly
feature. - Improves FixedString deserialisation to take advantage of SSO more.
- Implements
From<[T]; 0..=16>
for FixedArray.
- Redesigns the API to make truncation explicit, either via
from_*_trunc
ortrunc_into
.
- Implements
From<Cow<'_, str/[T]>>
for FixedString/Array, returning Owned Cows. - Implements
TryFrom<Box<str>>
for FixedString, to allow constructing it without logging features. - Implements SSO for FixedString, reducing allocations and shrinking memory usage.
- Reduces compile time more, with more logic split out of generics.
- Reduces compile time by splitting logic out of generics.
- Attempts to fix documentation on docs.rs not showing features.
- Fix compilation with only serde feature enabled.