Expand description
Lesbar provides string types that must encode legible text.
At time of writing, rustdoc ignores input type parameters in the “Methods from
Deref<Target = _>” section. For types that implement Deref<Target = NonEmpty<_>>, the API
documentation may be misleading and list all methods of NonEmpty regardless of its input
type parameter. This is mostly a problem for types that dereference to Str1, such as
TStr. See this rustdoc bug.
§Integrations and Cargo Features
Lesbar supports no_std environments and provides features for integrating as needed with
alloc. By default, the alloc feature is enabled for complete support of the standard
library.
The following table summarizes supported Cargo features and integrations.
Modules§
- iter
- prelude
- Re-exports of recommended APIs and extension traits.
- tstr
- A non-empty
strthat represents legible text. - tstring
alloc - A non-empty
Stringthat represents legible text.