Improve derbugg logging

Make it more readable

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-13 00:07:55 +10:00
parent a2d2c5d85c
commit 87682985d2
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928
10 changed files with 54 additions and 15 deletions

View file

@ -55,7 +55,12 @@ impl DataVerifier for Sha256Digest {
}
}
#[instrument]
#[instrument(
skip(client, crate_url),
fields(
crate_url = format_args!("{crate_url}"),
),
)]
pub(super) async fn parse_manifest(
client: Client,
crate_name: &str,