Packages / rupm

rs-text-strings 0.1.0

Text helpers with no dependencies: slugs, case conversion, truncation, word wrapping

Install

cargo add rs-text-strings --registry rupm

In Ruststudio: Packages, search for rs-text-strings, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.

Versions

README

# rs-text-strings

Text helpers with no dependencies: slugs, case conversion, truncation, word wrapping

Add it with `rupm add rs-text-strings` (or `cargo add rs-text-strings --registry rupm`).

```rust
let slug = rs_text_strings::slugify("Hello, World!");            // hello-world
let name = rs_text_strings::snake_case("HelloWorldFooBar");     // hello_world_foo_bar
let short = rs_text_strings::truncate("a long sentence", 6);    // a lon…
```