diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-22 10:29:19 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-22 10:29:19 +0900 |
| commit | 2c243a3cb814939bbe40fda1608781825ab0d77d (patch) | |
| tree | cb79b397e19e23b1670ab2ef3766c0c4717637aa /Cargo.toml | |
| parent | 0a8e5935e6305819bb02d8c69e2f046ff397913a (diff) | |
| download | php-mozart-2c243a3cb814939bbe40fda1608781825ab0d77d.tar.gz php-mozart-2c243a3cb814939bbe40fda1608781825ab0d77d.tar.zst php-mozart-2c243a3cb814939bbe40fda1608781825ab0d77d.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ sha1 = "0.10" tar = "0.4" tempfile = "3.25.0" tokio = { version = "1.49.0", features = ["full"] } +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } zip = { version = "2", default-features = false, features = ["deflate"] } assert_cmd = "2" predicates = "3" |
