Releases: EmbarkStudios/cfg-expr
Releases · EmbarkStudios/cfg-expr
0.5.1
Changed
- Updated the builtin target list to Rust 1.48.0
0.5.0
Changed
- Updated the builtin target list to Rust 1.47.0
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
targets
feature, which allows matching the varioustarget_
predicates against atarget_lexicon::Triple
.
Changed
- PR#9 changed the
Arch
,Vendor
,Os
, andEnv
types 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
ParseError
to 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::eval
to take aLogic
trait, 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_version
which can be used to retrieve the version string of the the rustc used to generate the list of targets.
Changed
targets::ALL
now uses the built-in targets for rustc 1.41.0
0.1.0
Added
- Initial add of all the things