3 releases (breaking)
|0.3.0||Mar 12, 2022|
|0.2.0||Jan 17, 2020|
|0.1.0||Apr 26, 2018|
#270 in Data structures
19,661 downloads per month
Used in 82 crates (17 directly)
String-like container based on
smallstr in your project, add the following to your
[dependencies] smallstr = "0.3"
smallstr is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
String-like container for small strings
smallstr does not depend on
std feature may be enabled
to add the
std dependency. The
ffi feature also implies
ffi feature will add the following trait implementations to
This feature also adds
std as a dependency.
serde feature is enabled, the traits
serde::Serialize are implemented for
This feature is disabled by default.
By default, the
serde dependency is compiled with
std feature is enabled,
std is added as a dependency in
serde, as well.
This feature will enable the
union feature in
smallvec, which reduces the size of
SmallString instance. This feature requires a nightly compiler.