mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-22 03:40:03 +00:00
Add --maximum-resolution-timeout
(#1862)
* Add --maximum-resolution-timeout Fixed #1823 * Display default value for `--maximum-resolution-timeout` in help
This commit is contained in:
parent
de55e465f5
commit
52f2db4f57
5 changed files with 76 additions and 48 deletions
|
@ -1,6 +1,6 @@
|
|||
//! Concrete Binstall operations.
|
||||
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
use std::{path::PathBuf, sync::Arc, time::Duration};
|
||||
|
||||
use semver::VersionReq;
|
||||
|
||||
|
@ -56,4 +56,6 @@ pub struct Options {
|
|||
|
||||
pub signature_policy: SignaturePolicy,
|
||||
pub disable_telemetry: bool,
|
||||
|
||||
pub maximum_resolution_timeout: Duration,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue