Files
Orhun ParmaksızandShingo OKAWA b71d2501e8 feat(tracing): migrate logging to tracing (#1488)
* chore: initial draft commit

Signed-off-by: Shingo OKAWA <[email protected]>

* feat/migrate env_logger to tracing

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: cargo optional dependency

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: lint

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to remote module

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to changelog module

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to command module

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to commit module

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to config module

Signed-off-by: Shingo OKAWA <[email protected]>

* feat: add spans to release module

Signed-off-by: Shingo OKAWA <[email protected]>

* refactor(tracing): limit instrumentation to changelog generation semantics

Signed-off-by: Shingo OKAWA <[email protected]>

* refactor(tracing): pretty format

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: typo

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: clamp interpolated color values to valid u8 range

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: color transition duration

Signed-off-by: Shingo OKAWA <[email protected]>

* refactor: add tracing instrument names

Signed-off-by: Shingo OKAWA <[email protected]>

* refactor: implement progress bar message macro

Signed-off-by: Shingo OKAWA <[email protected]>

* chore: apply pedantic lint

Signed-off-by: Shingo OKAWA <[email protected]>

* refactor: rename pb_msg into set_progress_message

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: show remote repository while fetching metadata

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: remove dim color

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: show remote repository only in the top-level span

Signed-off-by: Shingo OKAWA <[email protected]>

* fix: type annotation

Signed-off-by: Shingo OKAWA <[email protected]>

* style: stylize spinners

* refactor: use owo-colors for coloring logs

* style: apply rustfmt

* chore: switch to tracing for logging

* style: use more concise styling for dependency

---------

Signed-off-by: Shingo OKAWA <[email protected]>
Co-authored-by: Shingo OKAWA <[email protected]>
2026-04-25 00:22:54 +03:00

48 lines
936 B
TOML

[workspace]
resolver = "2"
members = ["git-cliff-core", "git-cliff"]
[workspace.dependencies]
regex = "1.11.1"
glob = "0.3.2"
secrecy = { version = "0.8.0", features = ["serde"] }
etcetera = "0.11.0"
url = "2.5.3"
reqwest = { version = "0.12.28", default-features = false, features = [
"blocking",
"rustls-tls",
"rustls-tls-native-roots",
"json",
"zstd",
] }
tracing = "0.1.44"
tracing-indicatif = "0.3.14"
[profile.dev]
opt-level = 0
debug = true
panic = "abort"
[profile.test]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false
panic = "unwind"
lto = true
codegen-units = 1
strip = true
[profile.bench]
opt-level = 3
debug = true # used by the profiler
strip = false # keep symbols for the profiler
[workspace.lints.clippy]
# NOTE:
# `clippy` is intentionally not configured at the workspace level.
# CLI arguments take precedence over this configuration, which can
# lead to confusing behavior.