template-tools 0.1.0
Substitute {{name}} placeholders in text, with escaping and strict mode
Install
cargo add template-tools --registry rupm
In Ruststudio: Packages, search for template-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
# template-tools
Substitute {{name}} placeholders in text, with escaping and strict mode
Add it with `rupm add template-tools` (or `cargo add template-tools --registry rupm`).
```rust
let mut vars = std::collections::HashMap::new();
vars.insert("name".to_string(), "World".to_string());
let out = template_tools::render("Hello {{name}}!", &vars)?;
```