strs_tools 0.45.0

Tools to manipulate strings.
Documentation
/// Add indentation to each line.
#[ cfg( all( feature = "string_indentation", feature = "std" ) ) ]
pub mod indentation;
/// Isolate parts of string.
#[ cfg( all( feature = "string_isolate", feature = "std" ) ) ]
pub mod isolate;
/// Parsing of numbers.
#[ cfg( all( feature = "string_parse_number", feature = "std" ) ) ]
pub mod number;
/// Parse string.
#[ cfg( all( feature = "string_parse_request", any( feature = "std", feature = "use_alloc" ) ) ) ]
pub mod parse_request;
/// Split string with a delimiter.
#[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
pub mod split;
/// Zero-copy string operations.
#[ cfg( all( feature = "string_split", feature = "std" ) ) ]
pub mod zero_copy;
/// Parser integration for single-pass processing.
#[ cfg( all( feature = "string_split", feature = "std" ) ) ]
pub mod parser;
/// Specialized high-performance string splitting algorithms.
#[ cfg( all( feature = "string_split", feature = "specialized_algorithms", feature = "std" ) ) ]
pub mod specialized;
/// Line-based text operations (head/tail).
#[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
pub mod lines;

#[ doc( inline ) ]
#[ allow( unused_imports ) ]
pub use own :: *;

/// Own namespace of the module.
#[ allow( unused_imports ) ]
pub mod own 
{
  #[ allow( unused_imports ) ]
  use super :: *;
  pub use orphan :: *;
  #[ cfg( all( feature = "string_indentation", feature = "std" ) ) ]
  pub use super ::indentation ::orphan :: *;
  #[ cfg( all( feature = "string_isolate", feature = "std" ) ) ]
  pub use super ::isolate ::orphan :: *;
  #[ cfg( all( feature = "string_parse_number", feature = "std" ) ) ]
  #[ allow( unused_imports ) ]
  pub use super ::number ::orphan :: *;
  #[ cfg( all( feature = "string_parse_request", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::parse_request ::orphan :: *;
  #[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::split ::orphan :: *;
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::zero_copy :: { ZeroCopyStringExt, ZeroCopySplit, ZeroCopySegment, zero_copy_split };
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::parser :: { ParserIntegrationExt, CommandParser, ParsedToken, ParseError, parse_and_split };
  #[ cfg( all( feature = "string_split", feature = "specialized_algorithms", feature = "std" ) ) ]
  pub use super ::specialized :: { smart_split, SingleCharSplitIterator, BoyerMooreSplitIterator, SplitResult, SplitAlgorithm, AlgorithmSelector };
  #[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::lines ::orphan :: *;
}

/// Parented namespace of the module.
#[ allow( unused_imports ) ]
pub mod orphan 
{
  #[ allow( unused_imports ) ]
  use super :: *;
  pub use exposed :: *;
}

/// Exposed namespace of the module.
#[ allow( unused_imports ) ]
pub mod exposed 
{
  #[ allow( unused_imports ) ]
  use super :: *;
  pub use prelude :: *;
  #[ cfg( all( feature = "string_indentation", feature = "std" ) ) ]
  #[ allow( unused_imports ) ]
  pub use super ::indentation ::exposed :: *;
  #[ cfg( all( feature = "string_isolate", feature = "std" ) ) ]
  pub use super ::isolate ::exposed :: *;
  #[ cfg( all( feature = "string_parse_number", feature = "std" ) ) ]
  #[ allow( unused_imports ) ]
  pub use super ::number ::exposed :: *;
  #[ cfg( all( feature = "string_parse_request", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::parse_request ::exposed :: *;
  #[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::split ::exposed :: *;
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::zero_copy :: { ZeroCopyStringExt, zero_copy_split };
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::parser :: { ParserIntegrationExt, ParsedToken, parse_and_split };
  #[ cfg( all( feature = "string_split", feature = "specialized_algorithms", feature = "std" ) ) ]
  pub use super ::specialized :: { smart_split, SingleCharSplitIterator, BoyerMooreSplitIterator };
  #[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::lines ::exposed :: *;
}

/// Namespace of the module to include with `use module :: *`.
#[ allow( unused_imports ) ]
pub mod prelude 
{
  #[ allow( unused_imports ) ]
  use super :: *;
  #[ cfg( all( feature = "string_indentation", feature = "std" ) ) ]
  #[ allow( unused_imports ) ]
  pub use super ::indentation ::prelude :: *;
  #[ cfg( all( feature = "string_isolate", feature = "std" ) ) ]
  pub use super ::isolate ::prelude :: *;
  #[ cfg( all( feature = "string_parse_number", feature = "std" ) ) ]
  #[ allow( unused_imports ) ]
  pub use super ::number ::prelude :: *;
  #[ cfg( all( feature = "string_parse_request", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::parse_request ::prelude :: *;
  #[ cfg( all( feature = "string_split", any( feature = "std", feature = "use_alloc" ) ) ) ]
  pub use super ::split ::prelude :: *;
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::zero_copy ::ZeroCopyStringExt;
  #[ cfg( all( feature = "string_split", feature = "std" ) ) ]
  pub use super ::parser ::ParserIntegrationExt;
}