Struct cargo::core::features::CliUnstable[][src]

pub struct CliUnstable {
Show fields pub allow_features: Option<BTreeSet<String>>, pub print_im_a_teapot: bool, pub advanced_env: bool, pub avoid_dev_deps: bool, pub binary_dep_depinfo: bool, pub build_std: Option<Vec<String>>, pub build_std_features: Option<Vec<String>>, pub config_include: bool, pub configurable_env: bool, pub credential_process: bool, pub doctest_in_workspace: bool, pub doctest_xcompile: bool, pub dual_proc_macros: bool, pub future_incompat_report: bool, pub extra_link_arg: bool, pub features: Option<Vec<String>>, pub jobserver_per_rustc: bool, pub minimal_versions: bool, pub mtime_on_use: bool, pub multitarget: bool, pub named_profiles: bool, pub namespaced_features: bool, pub no_index_update: bool, pub panic_abort_tests: bool, pub patch_in_config: bool, pub rustdoc_map: bool, pub separate_nightlies: bool, pub terminal_width: Option<Option<usize>>, pub timings: Option<Vec<String>>, pub unstable_options: bool, pub weak_dep_features: bool, pub skip_rustdoc_fingerprint: 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

allow_features: Option<BTreeSet<String>>print_im_a_teapot: booladvanced_env: boolavoid_dev_deps: boolbinary_dep_depinfo: boolbuild_std: Option<Vec<String>>build_std_features: Option<Vec<String>>config_include: boolconfigurable_env: boolcredential_process: booldoctest_in_workspace: booldoctest_xcompile: booldual_proc_macros: boolfuture_incompat_report: boolextra_link_arg: boolfeatures: Option<Vec<String>>jobserver_per_rustc: boolminimal_versions: boolmtime_on_use: boolmultitarget: boolnamed_profiles: boolnamespaced_features: boolno_index_update: boolpanic_abort_tests: boolpatch_in_config: boolrustdoc_map: boolseparate_nightlies: boolterminal_width: Option<Option<usize>>timings: Option<Vec<String>>unstable_options: boolweak_dep_features: boolskip_rustdoc_fingerprint: bool

Implementations

Generates an error if -Z unstable-options was not used for a new, unstable command-line flag.

Generates an error if -Z unstable-options was not used for a new, unstable subcommand.

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

Performs the conversion.

Performs the conversion.

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.