Module defs

Module defs 

Source
Expand description

Common definitions for the feature-check crate’s modules.

Structs§

Config
Runtime configuration settings for the obtain_features function.

Enums§

CalcResult
The result of evaluating either a single term or the whole expression.
Mode
The feature-check operating mode, usually “List”.
ObtainError
Errors that can occur during querying a program’s features.
Obtained
The result of querying a program for its supported features.
ParseError
Errors that can occur during parsing a test expression or the features line.

Constants§

DEFAULT_OPTION_NAME
The default option to pass to a program to obtain the list of features.
DEFAULT_PREFIX
The default prefix to look for in the lines output by the program.

Traits§

Calculable
An object that may be evaluated and provide a result.