cargo-binstall/src/drivers.rs
Jiahao XU 23bad39ba8
Refactor:Mv mod visitor vfs under crates_io
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-06-21 13:44:12 +10:00

19 lines
400 B
Rust

use std::path::{Path, PathBuf};
use crate::BinstallError;
mod version;
use version::find_version;
mod crates_io;
pub use crates_io::fetch_crate_cratesio;
/// Fetch a crate by name and version from github
/// TODO: implement this
pub async fn fetch_crate_gh_releases(
_name: &str,
_version: Option<&str>,
_temp_dir: &Path,
) -> Result<PathBuf, BinstallError> {
unimplemented!();
}