metered-rs icon indicating copy to clipboard operation
metered-rs copied to clipboard

Fast, ergonomic metrics for Rust

Results 10 metered-rs issues
Sort by recently updated
recently updated
newest added

Just to confirm, If I have a function that ever takes a `&mut self.foo` or calls a method with a receiver `self.bar(&mut self)`, then everything just breaks? It complains about...

enhancement
help wanted

First: Extremely practical crate! Thanks! I wanted to use Cargo features and `cfg_attr` in order to be able to activate/deactivate the compilation of metering or change which set of functions...

enhancement
help wanted

Some dependencies, such as `atomic` or `parking_lot` have nightly features that it would be good to enable and benefit from when enabling Metered's own nightly feature, for instance using `const...

enhancement
help wanted
good first issue

It's pretty trivial to add documentation attributes to items generated by a procedural macro, especially in Metered's macros where the registry structures are built using the `quote!` macro. One would...

enhancement
help wanted
good first issue

This is more convenient when R is a Result, since it is easy to convert that to a Result, but it is hard to convert the respective references.

That is the API introduced by https://github.com/magnet/aspect-rs/pull/5

If you have ```rust #[error_count(name = ErrorCount)] enum Error { Foo, Bar, } ``` It is hard to use it with a function like: ```rust struct Wrapper { e: E,...

Adds a convenience metric for counting the number of `Ok(None)` or `None` values returned. Useful for things like caches/repositories where you might want to count the number of cache misses...

Hi, Not sure if there's more I needed to do, but, being new to this crate and wanting to see what the demo looks like, I tried: ``` $ git...