mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00
Refactor:Mv mod visitor
vfs
under crates_io
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
b6f15f2e5e
commit
23bad39ba8
4 changed files with 6 additions and 6 deletions
|
@ -2,11 +2,6 @@ use std::path::{Path, PathBuf};
|
|||
|
||||
use crate::BinstallError;
|
||||
|
||||
mod vfs;
|
||||
|
||||
mod visitor;
|
||||
use visitor::ManifestVisitor;
|
||||
|
||||
mod version;
|
||||
use version::find_version;
|
||||
|
||||
|
|
|
@ -6,9 +6,14 @@ use crates_io_api::AsyncClient;
|
|||
use log::debug;
|
||||
use url::Url;
|
||||
|
||||
use super::{find_version, ManifestVisitor};
|
||||
use super::find_version;
|
||||
use crate::{helpers::*, BinstallError, Meta, TarBasedFmt};
|
||||
|
||||
mod vfs;
|
||||
|
||||
mod visitor;
|
||||
use visitor::ManifestVisitor;
|
||||
|
||||
/// Fetch a crate Cargo.toml by name and version from crates.io
|
||||
pub async fn fetch_crate_cratesio(
|
||||
name: &str,
|
||||
|
|
Loading…
Add table
Reference in a new issue