Closed baoyachi closed 3 years ago
shadow-rs = {git="http://github.com/baoyachi/shadow-rs"} simple-log = {git="ssh://git@github.com/baoyachi/simple-log.git" }
SourceKind::Path => write!(f, "{}", url_display(&self.inner.url)),
SourceKind::Registry => write!(f, "registry `{}`", url_display(&self.inner.url)),
SourceKind::LocalRegistry => write!(f, "registry `{}`", url_display(&self.inner.url)),
SourceKind::Directory => write!(f, "dir {}", url_display(&self.inner.url)),
Sometimes, the private registry or private git url that our cargo relies on will carry this information with the cargo tree command output we use. In order to protect the privacy of dependence, we need to shield it.
This can protect us from the security issues we rely on environmental information.
I think it is very necessary.So we need to do fuzzy replacement of dependent output.
replace with