Skip to main content

Module core

Module core 

Source
Expand description

Core configuration types.

This module contains core configuration logic for nextest.

Structs§

ConfigFileSelection
Selects repository configuration files independently of tool configuration.
ConfigIdentifier
An identifier used in configuration.
ConfigPath
A config file’s absolute location, as well as invocation-specific diagnostic spelling.
ConfigPathResolveError
An error establishing a configuration file’s absolute location.
ConfigPaths
Separate invocation and workspace directories shared by both config loaders.
ConfigSource
The source of a configuration setting.
ConfigStyles
Terminal styles for configuration-related diagnostics.
DefaultConfigWarnings
Default implementation of ConfigWarnings that logs warnings using the tracing crate.
EarlyProfile
A nextest profile that can be obtained without identifying the host and target platforms.
EvaluatableProfile
A configuration profile for nextest. Contains most configuration used by the nextest runner.
ExperimentalConfig
Experimental features configuration.
InvocationDir
Tracks the directory from which nextest was invoked.
NextestConfig
Overall configuration for nextest.
NextestVersionConfig
Nextest version configuration.
ToolConfigFile
A tool-specific config file.
ToolName
A tool name used in tool configuration files.
VersionOnlyConfig
A “version-only” form of the nextest configuration.
WorkspaceRoot
Tracks the workspace directory used for config discovery, including workspace remapping.

Enums§

ConfigExperimental
Experimental configuration features.
ConfigSourceKind
How a config file was selected.
NextestVersionEval
The result of checking whether a NextestVersionConfig satisfies a requirement.
NextestVersionReq
Specification for a nextest version. Part of NextestVersionConfig.

Traits§

ConfigWarnings
Trait for handling configuration warnings.

Functions§

get_num_cpus
Gets the number of available CPUs and caches the value.