typed-ident 0.0.1

Type-safe identifier validation, inspection, and mutation.
Documentation
#![doc = include_str!("README.md")]

// =============================================================================
// MODULES
// =============================================================================

// -----------------------------------------------------------------------------
#[macro_use]
mod macros;

// -----------------------------------------------------------------------------
pub mod convert;
mod fragment;
mod fragment_buf;
mod ident;
mod ident_buf;
mod segment;

// =============================================================================
// TYPE ALIASES
// =============================================================================

/// An owned, type-erased representation of a [`Segment`].
///
/// [`Segment`]: crate::core::Segment
pub type StringSegment = crate::core::Segment<char, std_alloc::string::String>;

// =============================================================================
// RE-EXPORT
// =============================================================================

// -----------------------------------------------------------------------------
pub use convert::ConvertibleIdentifier;
pub use fragment_buf::*;
pub use ident_buf::*;