metrics-utils-macros
Procedural macros for measuring function execution time and recording metrics in Rust applications.
Features
- Attribute macro for measuring async function duration
- Attribute macro for measuring sync function duration
Usage
Add this to your Cargo.toml:
[]
= "0.1.0"
Annotate your functions:
use ;
async
Documentation
See docs.rs/metrics-utils-macros for full documentation.
License
MIT OR Apache-2.0
Contribution
Contributions are welcome! Please open issues or pull requests on GitHub. # metrics-utils-macros