rust: use `logging_timer` instead of `micro_timer`
I am the author of `micro_timer`. I built it at the time because I couldn't find a crate that was simple to use and flexible to do function timing with. Turns out I just couldn't find it because crates.io's search isn't all that great, or maybe I didn't look hard enough. `logging_timer` is better in every way: - supports changing the logging level - supports start and end logging - supports intermediary messages - supports inline macros - supports formatting the output - better IDE/tree-sitter integration thanks to a more robust proc macro I also changed all uses to one-liners, so it's easier to copy-paste.
parent
bc83ebe07bf0
No related branches found
No related tags found
Showing
- rust/Cargo.lock 24 additions, 24 deletionsrust/Cargo.lock
- rust/hg-core/Cargo.toml 1 addition, 1 deletionrust/hg-core/Cargo.toml
- rust/hg-core/src/dirstate/parsers.rs 1 addition, 2 deletionsrust/hg-core/src/dirstate/parsers.rs
- rust/hg-core/src/dirstate_tree/dirstate_map.rs 4 additions, 5 deletionsrust/hg-core/src/dirstate_tree/dirstate_map.rs
- rust/hg-core/src/dirstate_tree/status.rs 1 addition, 2 deletionsrust/hg-core/src/dirstate_tree/status.rs
- rust/hg-core/src/lib.rs 0 additions, 4 deletionsrust/hg-core/src/lib.rs
- rust/hg-core/src/matchers.rs 1 addition, 3 deletionsrust/hg-core/src/matchers.rs
- rust/rhg/Cargo.toml 1 addition, 1 deletionrust/rhg/Cargo.toml
- rust/rhg/src/commands/cat.rs 1 addition, 2 deletionsrust/rhg/src/commands/cat.rs
- rust/rhg/src/commands/debugdata.rs 1 addition, 2 deletionsrust/rhg/src/commands/debugdata.rs
Loading
Please register or sign in to comment