rs-text-template 0.1.0
Substitute {{name}} placeholders in text, with escaping and strict mode
Install
cargo add rs-text-template --registry rupm
In Ruststudio: Packages, search for rs-text-template, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-text-template
Substitute {{name}} placeholders in text, with escaping and strict mode
Add it with `rupm add rs-text-template` (or `cargo add rs-text-template --registry rupm`).
```rust
let mut vars = std::collections::HashMap::new();
vars.insert("name".to_string(), "World".to_string());
let out = rs_text_template::render("Hello {{name}}!", &vars)?;
```