mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-28 22:36:20 +00:00
![]() 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> |
||
---|---|---|
.. | ||
influxdb | ||
lib.rs |