| Crates.io | clippy-tracing-attributes |
| lib.rs | clippy-tracing-attributes |
| version | 0.1.0 |
| created_at | 2023-07-04 13:31:53.043073+00 |
| updated_at | 2023-07-04 13:31:53.043073+00 |
| description | 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. |
| homepage | |
| repository | https://github.com/JonathanWoollett-Light/clippy-tracing |
| max_upload_size | |
| id | 907980 |
| size | 2,970 |
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.
cargo install clippy-tracing
clippy-tracing --action checkclippy-tracing --action fixclippy-tracing --action stripclippy-tracing --action check path --path /path/to/my/file.rsclippy-tracing --action fix path --path /path/to/my/file.rsclippy-tracing --action strip path --path /path/to/my/file.rsclippy-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)"