pub struct CliUnstable {
Show 32 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 bindeps: bool, pub build_std: Option<Vec<String>>, pub build_std_features: Option<Vec<String>>, pub codegen_backend: bool, pub config_include: bool, pub credential_process: bool, pub check_cfg: Option<(bool, bool, bool, bool)>, pub doctest_in_workspace: bool, pub doctest_xcompile: bool, pub dual_proc_macros: bool, pub features: Option<Vec<String>>, pub jobserver_per_rustc: bool, pub minimal_versions: bool, pub mtime_on_use: bool, pub no_index_update: bool, pub panic_abort_tests: bool, pub profile_rustflags: bool, pub host_config: bool, pub sparse_registry: bool, pub registry_auth: bool, pub target_applies_to_host: bool, pub rustdoc_map: bool, pub separate_nightlies: bool, pub publish_timeout: bool, pub unstable_options: bool, pub skip_rustdoc_fingerprint: bool, pub rustdoc_scrape_examples: 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: bool§advanced_env: bool§avoid_dev_deps: bool§binary_dep_depinfo: bool§bindeps: bool§build_std: Option<Vec<String>>§build_std_features: Option<Vec<String>>§codegen_backend: bool§config_include: bool§credential_process: bool§check_cfg: Option<(bool, bool, bool, bool)>§doctest_in_workspace: bool§doctest_xcompile: bool§dual_proc_macros: bool§features: Option<Vec<String>>§jobserver_per_rustc: bool§minimal_versions: bool§mtime_on_use: bool§no_index_update: bool§panic_abort_tests: bool§profile_rustflags: bool§host_config: bool§sparse_registry: bool§registry_auth: bool§target_applies_to_host: bool§rustdoc_map: bool§separate_nightlies: bool§publish_timeout: bool§unstable_options: bool§skip_rustdoc_fingerprint: bool§rustdoc_scrape_examples: 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

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.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 136 bytes