56quarters / cadence

An extensible Statsd client for Rust
https://docs.rs/cadence/
Apache License 2.0
84 stars 27 forks source link

Remove internal use of Arc from StatsdClient #163

Closed 56quarters closed 3 years ago

56quarters commented 3 years ago

Remove Arcs used only so the client could implement the Clone trait. Instead they are replaced with Boxes which don't require reference counting. The implication of this is that users of StatsdClient must wrap it in an Arc if they wish to share references of it between threads.

Fixes #162