diff --git a/src/binstall.rs b/src/binstall.rs index c6fcc569..12a532f7 100644 --- a/src/binstall.rs +++ b/src/binstall.rs @@ -1,5 +1,7 @@ use std::path::PathBuf; +use compact_str::CompactString; + use crate::{metafiles::binstall_v1::MetaData, DesiredTargets, PkgOverride}; mod resolve; @@ -11,7 +13,7 @@ pub use install::*; pub struct Options { pub no_symlinks: bool, pub dry_run: bool, - pub version: Option, + pub version: Option, pub manifest_path: Option, pub cli_overrides: PkgOverride, pub desired_targets: DesiredTargets, diff --git a/src/main.rs b/src/main.rs index ccbc519a..61d9c86f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,6 +8,7 @@ use std::{ }; use clap::{AppSettings, Parser}; +use compact_str::CompactString; use log::{debug, error, info, warn, LevelFilter}; use miette::{miette, Result, WrapErr}; use simplelog::{ColorChoice, ConfigBuilder, TermLogger, TerminalMode}; @@ -42,7 +43,7 @@ struct Options { /// Cannot be used when multiple packages are installed at once, use the attached version /// syntax in that case. #[clap(help_heading = "Package selection", long = "version")] - version_req: Option, + version_req: Option, /// Override binary target set. ///