osom_lib_strings 0.1.1

ABI-stable string types and helpers for osom_lib.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Holds aliases usable with std feature.
use osom_lib_alloc::std_allocator::StdAllocator;

use crate::immutable::{ImmutableString, ImmutableStringBuilder};

/// The alias for [`StdImmutableString`] with [`StdAllocator`].
pub type StdImmutableString = ImmutableString<StdAllocator>;

/// The alias for [`StdImmutableStringBuilder`] with [`StdAllocator`].
pub type StdImmutableStringBuilder = ImmutableStringBuilder<StdAllocator>;