mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-09 05:20:03 +00:00
feat: Add more logging to binstalk-{downloader, registry}
(#1340)
for debugging purposes. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
3c5641610a
commit
3e67e3624a
5 changed files with 13 additions and 6 deletions
|
@ -14,7 +14,7 @@ use semver::{Version, VersionReq};
|
|||
use serde::Deserialize;
|
||||
use serde_json::Error as JsonError;
|
||||
use sha2::{Digest, Sha256};
|
||||
use tracing::debug;
|
||||
use tracing::{debug, instrument};
|
||||
|
||||
use crate::{visitor::ManifestVisitor, RegistryError};
|
||||
|
||||
|
@ -37,6 +37,7 @@ impl DataVerifier for Sha256Digest {
|
|||
}
|
||||
}
|
||||
|
||||
#[instrument]
|
||||
pub(super) async fn parse_manifest(
|
||||
client: Client,
|
||||
crate_name: &str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue