clippy-tracing-attributes

Crates.ioclippy-tracing-attributes
lib.rsclippy-tracing-attributes
version0.1.0
sourcesrc
created_at2023-07-04 13:31:53.043073
updated_at2023-07-04 13:31:53.043073
descriptionA tool to add, remove and check for `tracing::instrument` in large projects where it is infeasible to manually add it to thousands of functions.
homepage
repositoryhttps://github.com/JonathanWoollett-Light/clippy-tracing
max_upload_size
id907980
size2,970
Jonathan Woollett-Light (JonathanWoollett-Light)

documentation

README

clippy-tracing

Crates.io codecov

This is rough tool

A tool to add, remove and check for tracing::instrument in large projects where it is infeasible to manually add it to thousands of functions.

Installation

cargo install clippy-tracing

Examples

  • clippy-tracing --action check
  • clippy-tracing --action fix
  • clippy-tracing --action strip
  • clippy-tracing --action check path --path /path/to/my/file.rs
  • clippy-tracing --action fix path --path /path/to/my/file.rs
  • clippy-tracing --action strip path --path /path/to/my/file.rs
  • clippy-tracing --action check text --text "$(cat /home/jonathan/Projects/clippy-tracing/src/test.rs)"
  • clippy-tracing --action fix text --text "$(cat /home/jonathan/Projects/clippy-tracing/src/test.rs)"
  • clippy-tracing --action strip text --text "$(cat /home/jonathan/Projects/clippy-tracing/src/test.rs)"
Commit count: 45

cargo fmt