From 2c243a3cb814939bbe40fda1608781825ab0d77d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 10:29:19 +0900 Subject: feat(tracing): add performance profiling via tracing crate Wire up the existing --profile flag with tracing-subscriber to emit span timings on stderr. Supports MOZART_LOG env var override and verbose-level-aware filtering. No subscriber is installed when --profile is off, keeping tracing macros zero-cost. Co-Authored-By: Claude Opus 4.6 --- crates/mozart-registry/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart-registry') diff --git a/crates/mozart-registry/Cargo.toml b/crates/mozart-registry/Cargo.toml index 964e0a1..a048f91 100644 --- a/crates/mozart-registry/Cargo.toml +++ b/crates/mozart-registry/Cargo.toml @@ -19,4 +19,5 @@ sha1.workspace = true tar.workspace = true tempfile.workspace = true tokio.workspace = true +tracing.workspace = true zip.workspace = true -- cgit v1.3.1