## Module schema

Source
Expand description

Cargo configuration schemas.

This module contains types that define the schema for various configuration sections found in Cargo configuration.

These types are mostly used by `GlobalContext::get` to deserialize configuration values from TOML files, environment variables, and CLI arguments.

Schema types here should only contain data and simple accessor methods. Avoid depending on `GlobalContext` directly.

## Structs§

BuildTargetConfig
  Configuration for `build.target`.
CargoBuildAnalysis
  Metrics collection for build analysis.
CargoBuildConfig
  The `[build]` table.
CargoFutureIncompatConfig
  The `[future-incompat-report]` stable
CargoHttpConfig
  The `[http]` table.
CargoNetConfig
  The `[net]` table.
CargoResolverConfig
  The `[resolver]` table.
CargoSshConfig
EnvConfigValue
  Configuration value for environment variables in `[env]` section.
ProgressConfig
  The `term.progress` configuration.
SslVersionConfigRange
TermConfig
  The `[term]` table.

## Enums§

BuildTargetConfigInner 🔒
CargoFutureIncompatFrequencyConfig
EnvConfigValueInner 🔒
FeatureUnification
IncompatibleRustVersions
JobsConfig
  Configuration for `jobs` in `build` section. There are two ways to configure: An integer or a simple string expression.
ProgressWhen
SslVersionConfig
  Configuration for `ssl-version` in `http` section There are two ways to configure:
WarningHandling
  Whether warnings should warn, be allowed, or cause an error.

## Type Aliases§

EnvConfig