1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! `catalyser` contains submodules that are conditionally compiled based on specific features.
//!
//! ## Modules
//!
//! - `stdx`: Available when the `"std"` feature is enabled. This module provides additional
//! utilities and extensions related to the
//! [Rust's standard library](https://doc.rust-lang.org/stable/std/).
//!
//! ## Usage Examples
//!
//! To use the `stdx` module, make sure the `"std"` feature is enabled in your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! catalyser = { version = "x.y.z", features = ["std"] }
//! ```
//!
//! Then, you can import and use items from the `stdx` module:
//!
//! ```rust
//! use catalyser::stdx::extension::{
//! scope_functions_extension::Run,
//! str_extension::MultilineStr,
//! };
//!
//! "
//! |Hello
//! |World
//! ".run(|it| it.trim_margin());
//! ```
//!
//! The `serde` feature ensures that integration with the `serde` crate is enabled.
//! This allows serialization and deserialization of types when the `serde` feature flag is active.
//!
//! ```toml
//! [dependencies]
//! catalyser = { version = "x.y.z", features = ["serde"] }
//! ```
//!