pub struct Metadata {Show 15 fields
pub quiet: bool,
pub features: Vec<String>,
pub all_features: bool,
pub no_default_features: bool,
pub verbose: u8,
pub filter_platform: Vec<String>,
pub no_deps: bool,
pub manifest_path: Option<PathBuf>,
pub format_version: Option<String>,
pub color: Option<String>,
pub frozen: bool,
pub locked: bool,
pub offline: bool,
pub config: Vec<String>,
pub unstable_flags: Vec<String>,
}Expand description
Output the resolved dependencies of a package, the concrete used versions including overrides, in machine-readable format
Fields§
§quiet: boolDo not print cargo log messages
features: Vec<String>Space or comma separated list of features to activate
all_features: boolActivate all available features
no_default_features: boolDo not activate the default feature
verbose: u8Use verbose output (-vv very verbose/build.rs output)
filter_platform: Vec<String>Only include resolve dependencies matching the given target-triple
no_deps: boolOutput information only about the workspace members and don’t fetch dependencies
manifest_path: Option<PathBuf>Path to Cargo.toml
format_version: Option<String>Format version
color: Option<String>Coloring: auto, always, never
frozen: boolRequire Cargo.lock and cache are up to date
locked: boolRequire Cargo.lock is up to date
offline: boolRun without accessing the network
config: Vec<String>Override a configuration value (unstable)
unstable_flags: Vec<String>Unstable (nightly-only) flags to Cargo, see ‘cargo -Z help’ for details
Implementations§
Trait Implementations§
Source§impl Args for Metadata
impl Args for Metadata
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Metadata
impl CommandFactory for Metadata
Source§impl FromArgMatches for Metadata
impl FromArgMatches for Metadata
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.