text-tools 0.1.0
Text helpers with no dependencies: slugs, case conversion, truncation, word wrapping
Install
cargo add text-tools --registry rupm
In Ruststudio: Packages, search for text-tools, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.
Versions
- 0.1.0 2026-11-22
README
# text-tools
Text helpers with no dependencies: slugs, case conversion, truncation, word wrapping
Add it with `rupm add text-tools` (or `cargo add text-tools --registry rupm`).
```rust
let slug = text_tools::slugify("Hello, World!"); // hello-world
let name = text_tools::snake_case("HelloWorldFooBar"); // hello_world_foo_bar
let short = text_tools::truncate("a long sentence", 6); // a lon…
```