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ยง
- Build
Target Config - Configuration for
build.target. - Cargo
Build Analysis - Metrics collection for build analysis.
- Cargo
Build Config - The
[build]table. - Cargo
Cache Config - Cargo
Future Incompat Config - The
[future-incompat-report]stable - Cargo
Http Config - The
[http]table. - Cargo
NetConfig - The
[net]table. - Cargo
NewConfig - Cargo
Resolver Config - The
[resolver]table. - Cargo
SshConfig - EnvConfig
Value - Configuration value for environment variables in
[env]section. - Global
Clean Config - Cache cleaning settings from the
cache.global-cleanconfig table. - Global
Registry Config - The
[registry]table, which has more keys than the[registries.NAME]tables. - Progress
Config - The
term.progressconfiguration. - Registry
Config [registries.NAME]tables.- Rustdoc
Extern Map - A map of registry names to URLs where documentations are hosted.
This is for unstable feature
-Zrustdoc-map. - Source
Config Def - Definition of a source in a config file.
- SslVersion
Config Range - Term
Config - The
[term]table.
Enumsยง
- Build
Target ๐Config Inner - Cargo
Future Incompat Frequency Config - EnvConfig
Value ๐Inner - Feature
Unification - Fingerprint
Method - Incompatible
Publish Age - Incompatible
Rust Versions - Jobs
Config - Configuration for
jobsinbuildsection. There are two ways to configure: An integer or a simple string expression. - Progress
When - Rustdoc
Extern Mode - Mode used for
std. This is for unstable feature-Zrustdoc-map. - SslVersion
Config - Configuration for
ssl-versioninhttpsection There are two ways to configure: - Version
Control - Warning
Handling - Whether warnings should warn, be allowed, or cause an error.
Constantsยง
- DOCS_
RS_ ๐URL