Skip to content

Commit

Permalink
feat: enable tracing with the new tracing feature in the Cargo mani…
Browse files Browse the repository at this point in the history
…fest.

That way, it's easier to directly enable tracing, instead of having to
resort to `gix-features`.
  • Loading branch information
Byron committed Jun 28, 2024
1 parent 929744a commit 41e018d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gix/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ zlib-stock = ["gix-features/zlib-stock"]
#!
#! The catch-all of feature toggles.

## Enable tracing using the `tracing` crate for coarse tracing.
tracing = ["gix-features/tracing"]

## Enable tracing using the `tracing` crate for detailed tracing. Also enables coarse tracing.
tracing-detail = ["gix-features/tracing-detail", "tracing"]

## When parsing objects by default errors will only be available on the granularity of success or failure, and with the above flag enabled
## details information about the error location will be collected.
## Use it in applications which expect broken or invalid objects or for debugging purposes.
Expand Down

0 comments on commit 41e018d

Please sign in to comment.