mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-23 05:58:42 +00:00
27 lines
599 B
Rust
27 lines
599 B
Rust
use std::collections::BTreeSet;
|
|
use std::path::PathBuf;
|
|
|
|
use crate::{metafiles, 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<String>,
|
|
pub manifest_path: Option<PathBuf>,
|
|
pub cli_overrides: PkgOverride,
|
|
pub desired_targets: DesiredTargets,
|
|
}
|
|
|
|
/// MetaData required to update MetaFiles.
|
|
pub struct MetaData {
|
|
pub bins: BTreeSet<String>,
|
|
pub cvs: metafiles::CrateVersionSource,
|
|
pub version_req: String,
|
|
pub target: String,
|
|
}
|