mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-05 11:40:04 +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
|
@ -10,6 +10,7 @@ use serde_json::{from_slice as json_from_slice, Deserializer as JsonDeserializer
|
|||
use simple_git::{GitCancellationToken, GitUrl, Repository};
|
||||
use tempfile::TempDir;
|
||||
use tokio::task::spawn_blocking;
|
||||
use tracing::instrument;
|
||||
use url::Url;
|
||||
|
||||
use crate::{
|
||||
|
@ -96,6 +97,7 @@ impl GitRegistry {
|
|||
)
|
||||
}
|
||||
|
||||
#[instrument]
|
||||
pub async fn fetch_crate_matched(
|
||||
&self,
|
||||
client: Client,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue