Releases: EmbarkStudios/cfg-expr
Releases · EmbarkStudios/cfg-expr
0.4.1
Fixed
- Removed
dbg!prints accidentally left in.
0.4.0
[0.4.0] - 2020-06-04
Added
- PR#9 added the optional
targetsfeature, which allows matching the varioustarget_predicates against atarget_lexicon::Triple.
Changed
- PR#9 changed the
Arch,Vendor,Os, andEnvtypes to no be longer enums, and are instead thin wrappers around strings. This allows for custom targets where one or more components of the target triple are not built-in to rustc. Resolved #8. - Changed
ParseErrorto remove the lifetime and just keep an owned string of the expression that failed to parse. - Updated the list of built-in rustc targets to 1.43.1.
0.3.0
Changed
- PR#7 changed
Expression::evalto take aLogictrait, to enable evaluation of 'unknown' predicates. Thanks @sunshowers!
0.2.1
Fixed
- PR#6 fixed nested predicate evalution. Thanks @sunshowers!
0.2.0
Added
- Added
targets::rustc_versionwhich can be used to retrieve the version string of the the rustc used to generate the list of targets.
Changed
targets::ALLnow uses the built-in targets for rustc 1.41.0
0.1.0
Added
- Initial add of all the things