typed-ident 0.0.1

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

// -----------------------------------------------------------------------------
#![no_std]
#![allow(clippy::module_inception)] // Common pattern for module organization.
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(missing_docs)]

// =============================================================================
// CRATES
// =============================================================================

// -----------------------------------------------------------------------------
#[cfg(feature = "alloc")]
extern crate alloc as std_alloc;

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

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

// -----------------------------------------------------------------------------
#[cfg(feature = "alloc")]
pub mod alloc;
pub mod core;
#[cfg(feature = "presets")]
pub mod presets;
pub mod syntax;

// =============================================================================
// RE-EXPORTS
// =============================================================================

// -----------------------------------------------------------------------------
#[doc(inline)]
#[cfg(feature = "alloc")]
pub use alloc::{ConvertibleIdentifier, FragmentBuf, IdentBuf, StringSegment};
#[doc(inline)]
pub use core::{
    Chunk, Error, FormattableIdentifier, Fragment, Ident, Identifier, Segment, StrSegment,
};