mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 20:50:03 +00:00
Add new opt https_only_mode
& min_tls_version
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
eb7d460a9a
commit
64f468acd6
1 changed files with 8 additions and 0 deletions
|
@ -84,6 +84,14 @@ struct Options {
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
no_cleanup: bool,
|
no_cleanup: bool,
|
||||||
|
|
||||||
|
/// Enable https only mode
|
||||||
|
#[clap(long)]
|
||||||
|
https_only_mode: bool,
|
||||||
|
|
||||||
|
/// Decide which TLS version to use.
|
||||||
|
#[clap(long, arg_enum)]
|
||||||
|
min_tls_version: Option<TLSVersion>,
|
||||||
|
|
||||||
/// Override manifest source.
|
/// Override manifest source.
|
||||||
///
|
///
|
||||||
/// This skips searching crates.io for a manifest and uses the specified path directly, useful
|
/// This skips searching crates.io for a manifest and uses the specified path directly, useful
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue