cargo-binstall/src/binstall.rs
Jiahao XU b6a539735d
Pass -q to cargo-install if log_level is set to off
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-08-04 23:21:29 +10:00

21 lines
454 B
Rust

use std::path::PathBuf;
use compact_str::CompactString;
use crate::{metafiles::binstall_v1::MetaData, DesiredTargets, PkgOverride};
mod resolve;
pub use resolve::*;
mod install;
pub use install::*;
pub struct Options {
pub no_symlinks: bool,
pub dry_run: bool,
pub version: Option<CompactString>,
pub manifest_path: Option<PathBuf>,
pub cli_overrides: PkgOverride,
pub desired_targets: DesiredTargets,
pub quiet: bool,
}