You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
minstant is drop-in replacement for std::time::Instant that measures time with high performance and high accuracy powered by TSC.
Describe the solution you'd like
Add a cargo feature "minstant" to
Is your feature request related to a problem? Please describe.
minstant is drop-in replacement for std::time::Instant that measures time with high performance and high accuracy powered by TSC.
Describe the solution you'd like
Add a cargo feature "minstant" to
rust-prometheus/Cargo.toml
Lines 17 to 22 in f49c724
Describe alternatives you've considered
Additional context
In my project, I am using the
Histogram
module and noticed that it relies onstd::time::Instant
for time measurement:rust-prometheus/src/histogram.rs
Lines 517 to 523 in f49c724
Adding the optional
minstant
feature to rust-prometheus would be beneficial.The text was updated successfully, but these errors were encountered: