metrics-rs / metrics

A metrics ecosystem for Rust.
MIT License
1.13k stars 157 forks source link

Impl From<std::borrow::Cow> for KeyName #378

Closed mooso closed 1 year ago

mooso commented 1 year ago

This adds conversion from std::borrow::Cow<'static, str> to KeyName.

This is for issue 377

tobz commented 1 year ago

Not sure why the CI keeps failing just from this change, but it seems benign enough that I'll merge it once it goes primarily green, again, after rebasing it.

tobz commented 1 year ago

Released via metrics@v0.21.1.

Thanks again for your contribution. :)