zenops-expand 0.5.3

String newtype with `${name}` placeholders that must be expanded before use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# zenops-expand

[![Crates.io](https://img.shields.io/crates/v/zenops-expand.svg)](https://crates.io/crates/zenops-expand)
[![docs.rs](https://docs.rs/zenops-expand/badge.svg)](https://docs.rs/zenops-expand)

Internal helper crate for [zenops](https://crates.io/crates/zenops). Provides
`ExpandStr`, a newtype around `String` that carries `${name}` placeholders and
must be passed through `.expand(lookup)` to produce a usable `String`. The type
deliberately does not implement `Display`, `AsRef<str>`, or `Deref<str>`, so the
compiler enforces expansion before the value reaches shell output or a
filesystem path.

Dual-licensed under MIT or Apache-2.0.