cargo-binstall/src/drivers.rs
Jiahao XU 3c30722a06
Impl new type Vfs which impl AbstractFilesystem
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-06-12 01:57:34 +10:00

21 lines
389 B
Rust

use std::path::{Path, PathBuf};
use crate::BinstallError;
mod cratesio;
pub use cratesio::*;
mod version;
use version::find_version;
mod vfs;
/// 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!();
}