pub struct CliUnstable {
Show 30 fields pub print_im_a_teapot: bool, pub unstable_options: bool, pub no_index_update: bool, pub avoid_dev_deps: bool, pub minimal_versions: bool, pub advanced_env: bool, pub config_include: bool, pub dual_proc_macros: bool, pub mtime_on_use: bool, pub named_profiles: bool, pub binary_dep_depinfo: bool, pub build_std: Option<Vec<String>>, pub build_std_features: Option<Vec<String>>, pub timings: Option<Vec<String>>, pub doctest_xcompile: bool, pub doctest_in_workspace: bool, pub panic_abort_tests: bool, pub jobserver_per_rustc: bool, pub features: Option<Vec<String>>, pub separate_nightlies: bool, pub multitarget: bool, pub rustdoc_map: bool, pub terminal_width: Option<Option<usize>>, pub namespaced_features: bool, pub weak_dep_features: bool, pub extra_link_arg: bool, pub patch_in_config: bool, pub credential_process: bool, pub configurable_env: bool, pub enable_future_incompat_feature: bool,
}
Expand description

A parsed representation of all unstable flags that Cargo accepts.

Cargo, like rustc, accepts a suite of -Z flags which are intended for gating unstable functionality to Cargo. These flags are only available on the nightly channel of Cargo.

Fields

print_im_a_teapot: boolunstable_options: boolno_index_update: boolavoid_dev_deps: boolminimal_versions: booladvanced_env: boolconfig_include: booldual_proc_macros: boolmtime_on_use: boolnamed_profiles: boolbinary_dep_depinfo: boolbuild_std: Option<Vec<String>>build_std_features: Option<Vec<String>>timings: Option<Vec<String>>doctest_xcompile: booldoctest_in_workspace: boolpanic_abort_tests: booljobserver_per_rustc: boolfeatures: Option<Vec<String>>separate_nightlies: boolmultitarget: boolrustdoc_map: boolterminal_width: Option<Option<usize>>namespaced_features: boolweak_dep_features: boolextra_link_arg: boolpatch_in_config: boolcredential_process: boolconfigurable_env: boolenable_future_incompat_feature: bool

Implementations

Generates an error if -Z unstable-options was not used. Intended to be used when a user passes a command-line flag that requires -Z unstable-options.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.