mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
21 lines
389 B
Rust
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!();
|
|
}
|