[][src]Struct cargo_deps::Config

pub struct Config {
    pub depth: Option<usize>,
    pub dot_file: Option<String>,
    pub filter: Option<Vec<String>>,
    pub include_orphans: bool,
    pub include_versions: bool,
    pub manifest_path: String,
    pub subgraph: Option<Vec<String>>,
    pub subgraph_name: Option<String>,
    pub regular_deps: bool,
    pub build_deps: bool,
    pub dev_deps: bool,
    pub optional_deps: bool,
    pub transitive_deps: bool,
}

Configuration options.

Create this object with Default::default() for the configuration equivalent to running without any command-line arguments.

Please refer to the help menu for information about each option.

Fields

depth: Option<usize>dot_file: Option<String>filter: Option<Vec<String>>include_orphans: boolinclude_versions: boolmanifest_path: String

Default: "Cargo.toml".

subgraph: Option<Vec<String>>subgraph_name: Option<String>regular_deps: bool

Default: true.

build_deps: bool

Default: false.

dev_deps: bool

Default: false.

optional_deps: bool

Default: false.

transitive_deps: bool

Default: true.

Trait Implementations

impl Clone for Config[src]

impl Default for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

impl RefUnwindSafe for Config

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]