Crate cfg

Source
Expand description

cfg defines conditional compiling options, cfg attribute parser and evaluator

Structs§

CfgDiff
CfgOptions
Configuration options used for conditional compilation on items with cfg attributes. We have two kind of options in different namespaces: atomic options like unix, and key-value options like target_arch="x86".
DnfExpr
A #[cfg] directive in Disjunctive Normal Form (DNF).
HashableCfgOptions
A CfgOptions that implements Hash, for the sake of hashing only.
InactiveReason

Enums§

CfgAtom
A simple configuration value passed in from the outside.
CfgExpr