text_utils/lib.rs
1#![allow(clippy::needless_return)]
2#![deny(missing_docs)]
3
4//! # Text utility function library
5//!
6//! ## Interface
7//! This library is biased towards input strings and returns new strings
8//! This library uses polymorphic interface
9//! - if accept [`String`], use (`impl Into<String>`)
10//! - if accept [`&str`], use (`impl AsRef<str>`)
11
12mod errors;
13mod utils;
14
15pub use errors::{Result, TextError};
16pub use slugify::slugify;
17pub use utils::*;