[−][src]Struct cargo_update::Options
Representation of the application's all configurable values.
Fields
to_update: Vec<(String, Option<Semver>)>
(Additional) packages to update. Default: []
all: bool
Whether to update all packages. Default: false
update: bool
Whether to update packages or just list them. Default: true
install: bool
Whether to allow for just installing packages. Default: false
force: bool
Update all packages. Default: false
update_git: bool
Update git packages too (it's expensive). Default: false
quiet: bool
Don't output messages and pass --quiet to cargo
subprocesses. Default: false
filter: Vec<PackageFilterElement>
Update all packages. Default: empty
crates_file: (String, PathBuf)
The .crates.toml
file in the cargo
home directory.
Default: in "$CARGO_INSTALL_ROOT"
, then "$CARGO_HOME"
, then "$HOME/.cargo"
cargo_dir: (String, PathBuf)
The cargo
home directory. Default: "$CARGO_HOME"
, then "$HOME/.cargo"
temp_dir: (String, PathBuf)
The temporary directory to clone git repositories to. Default: "$TEMP/cargo-update"
cargo_install_args: Vec<OsString>
Arbitrary arguments to forward to cargo install
, acquired from $CARGO_INSTALL_OPTS
. Default: []
Methods
impl Options
[src]
Trait Implementations
impl Clone for Options
[src]
impl Debug for Options
[src]
impl Eq for Options
[src]
impl Hash for Options
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Options> for Options
[src]
impl StructuralEq for Options
[src]
impl StructuralPartialEq for Options
[src]
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,