You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module/core/strs_tools/Readme.md
+24-13Lines changed: 24 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
<!-- {{# generate.module_header{} #}} -->
2
1
2
+
<!-- {{# generate.module_header{} #}} -->
3
3
# Module :: `strs_tools`
4
4
<!--{ generate.module_header.start() }-->
5
5
[](https://github.com/emersion/stability-badges#experimental)[](https://github.com/Wandalen/wTools/actions/workflows/module_strs_tools_push.yml)[](https://docs.rs/strs_tools)[](https://gitpod.io/#RUN_PATH=.,SAMPLE_FILE=module%2Fcore%2Fstrs_tools%2Fexamples%2Fstrs_tools_trivial.rs,RUN_POSTFIX=--example%20module%2Fcore%2Fstrs_tools%2Fexamples%2Fstrs_tools_trivial.rs/https://github.com/Wandalen/wTools)[](https://discord.gg/m3YfbXpUUY)
This crate uses a feature-based system to allow you to include only the functionality you need. Key features include:
47
+
48
+
*`string_indentation`: Tools for adding indentation to lines of text.
49
+
*`string_isolate`: Functions to isolate parts of a string based on delimiters.
50
+
*`string_parse_request`: Utilities for parsing command-like strings with subjects and key-value parameters.
51
+
*`string_parse_number`: Functions for parsing numerical values from strings.
52
+
*`string_split`: Advanced string splitting capabilities with various options for delimiters, quoting, and segment preservation.
53
+
54
+
You can enable features in your `Cargo.toml` file, for example:
55
+
```toml
56
+
[dependencies.strs_tools]
57
+
version = "0.18.0"# Or your desired version
58
+
features = [ "string_split", "string_indentation" ]
59
+
```
60
+
The `default` feature enables a common set of functionalities. The `full` feature enables all available string utilities. Refer to the `Cargo.toml` for a complete list of features and their dependencies.
[](https://gitpod.io/#RUN_PATH=sample%2Frust%2Fstrs_tools_trivial,SAMPLE_FILE=.%2Fsrc%2Fmain.rs/https://github.com/Wandalen/wTools)
0 commit comments