Closed Marwes closed 3 years ago
What about @ramn's suggestion
Could let metrics_cloudwatch builder take a function pointer to https://docs.rs/metrics/0.14.2/metrics/fn.set_boxed_recorder.html and use that to initialize. That should give us a compilation error when metrics_cloudwatch tries to pass in a Recorder from the wrong crate.
These updates will still be breaking changes then, but at least they will be API breaking instead of runtime breaking.
Do you usually do version/changelog updates separately?
I think Markus uses https://github.com/sunng87/cargo-release
No, i approved it
BREAKING CHANGE
Users should update their metrics version to 0.15 or metrics will not be reported