3745f36ab1
Rather than going from a list of `(&str, &str)` tuples to a `HashMap<String, String>`, add a `.tag()` builder method and use `Cow` behind the scenes to efficiently allow the caller to choose between a static literal and a `String` value. Previously the methods forced `&str` slices and then always-copied those into `String`s even if the caller could just *move* it. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
debian | ||
src | ||
Cargo.toml |