Expand description
Common definitions for the feature-check crate’s modules.
Structs§
- Config
- Runtime configuration settings for
the
obtain_featuresfunction.
Enums§
- Calc
Result - The result of evaluating either a single term or the whole expression.
- Mode
- The feature-check operating mode, usually “List”.
- Obtain
Error - Errors that can occur during querying a program’s features.
- Obtained
- The result of querying a program for its supported features.
- Parse
Error - 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.