//! Shared utility functions
//!
//! Text processing utilities are now provided by the utils crate.
//! This module maintains compatibility while delegating to the unified system.

pub mod fetch;
// nav uses Leptos signals + wasm browser APIs; not needed for htmx-ssr builds.
#[cfg(any(target_arch = "wasm32", feature = "leptos-hydration"))]
pub mod nav;

// Re-export text utilities from utils crate
#[cfg(any(target_arch = "wasm32", feature = "leptos-hydration"))]
pub use nav::*;
pub use rustelo_utils::{normalize_category, normalize_tag, title_to_slug, to_slug};
