#![ cfg_attr( all( feature = "no_std", not( feature = "std" ) ), no_std ) ]
#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
#![ doc
(
html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico"
) ]
#![ doc( html_root_url = "https://docs.rs/strs_tools/latest/strs_tools/" ) ]
#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
#![ cfg_attr( not( doc ), doc = "String manipulation utilities" ) ]
#![ allow( clippy::std_instead_of_alloc ) ]
#![ allow( clippy::must_use_candidate ) ]
#![ allow( clippy::elidable_lifetime_names ) ]
#![ allow( clippy::std_instead_of_core ) ]
#![ allow( clippy::manual_strip ) ]
#![ allow( clippy::doc_markdown ) ]
#![ allow( clippy::new_without_default ) ]
#![ allow( clippy::clone_on_copy ) ]
#![ allow( clippy::single_match_else ) ]
#![ allow( clippy::return_self_not_must_use ) ]
#![ allow( clippy::match_same_arms ) ]
#![ allow( clippy::missing_panics_doc ) ]
#![ allow( clippy::missing_errors_doc ) ]
#![ allow( clippy::iter_cloned_collect ) ]
#![ allow( clippy::redundant_closure ) ]
#![ allow( clippy::uninlined_format_args ) ]
#[ cfg( all( feature = "use_alloc", not( feature = "std" ) ) ) ]
#[ allow( unused_extern_crates ) ]
extern crate alloc;
#[ cfg( feature = "enabled" ) ]
pub mod string;
#[ cfg( all( feature = "enabled", feature = "simd" ) ) ]
pub mod simd;
#[ cfg( all( feature = "enabled", feature = "ansi" ) ) ]
pub mod ansi;
#[ cfg( all( feature = "enabled", feature = "compile_time_optimizations" ) ) ]
#[ allow( unused_imports ) ]
pub use strs_tools_meta::*;
#[ doc( inline ) ]
#[ allow( unused_imports ) ]
#[ cfg( feature = "enabled" ) ]
pub use own::*;
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod own
{
#[ allow( unused_imports ) ]
use super::*;
pub use orphan::*;
pub use super::string;
#[ cfg( feature = "simd" ) ]
pub use super::simd;
#[ cfg( feature = "ansi" ) ]
pub use super::ansi;
#[ cfg( test ) ]
pub use super::string::orphan::*;
}
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod orphan
{
#[ allow( unused_imports ) ]
use super::*;
pub use exposed::*;
}
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod exposed
{
#[ allow( unused_imports ) ]
use super::*;
pub use prelude::*;
pub use super::string::exposed::*;
}
#[ cfg( feature = "enabled" ) ]
#[ allow( unused_imports ) ]
pub mod prelude
{
#[ allow( unused_imports ) ]
use super::*;
pub use super::string::prelude::*;
}