All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
0.17.2 - 2024-11-29
- PR#76 updated the builtin target list to 1.83.0.
0.17.1 - 2024-11-15
- PR#75 updated the builtin target list to 1.82.0.
0.17.0 - 2024-09-05
- PR#74 updated the builtin target list to 1.81.0.
0.16.0 - 2024-07-29
- PR#70 updated the builtin target list to 1.80.0. Thanks @sunshowers!
0.15.8 - 2024-04-10
- PR#69 updated the builtin target list to 1.77.2.
0.15.7 - 2024-02-09
- PR#67 updated the builtin target list to 1.76.0.
0.15.6 - 2024-01-02
- PR#66 updated the builtin target list to 1.75.0.
0.15.5 - 2023-09-08
- PR#64 updated the builtin target list to 1.72.0. It also changed the MSRV to 1.70.0.
0.15.4 - 2023-07-28
- PR#62 updated the builtin target list to 1.71.0.
0.15.3 - 2023-06-19
- PR#61 fixed an issue where
target_os = "none"
was not matching target triplets whereos = None
. Thanks @sunshowers!
0.15.2 - 2023-06-02
- PR#59 updated the builtin target list to 1.70.0.
0.15.1 - 2023-04-20
- PR#59 updated the builtin target list to 1.69.0.
0.15.0 - 2023-04-04
- PR#58 updated the builtin target list to 1.68.2.
0.14.0 - 2023-01-27
- PR#57 updated the builtin target list to 1.67.0.
0.13.0 - 2022-12-19
- PR#56 updated the builtin target list to 1.66.0. Thanks @sunshowers!
0.12.0 - 2022-11-07
- PR#53 updated the builtin target list to 1.65.0. Thanks @sunshowers!
- PR#54 added support for
abi
, which is currently nightly only, but should have no affect on stable. Thanks @carols10cents!
0.11.0 - 2022-09-27
- PR#51 updated the builtin target list to 1.64.0. Thanks @sunshowers!
- PR#51 bumped the MSRV to 1.58.0.
0.10.3 - 2022-05-19
- PR#49 added support for the
has_target_atomic = "<ptr | integer>"
andpanic = "<strategy>"
predicates. Thanks @sunshowers!
0.10.2 - 2022-02-25
- PR#48 updated the builtin target list to 1.59.0.
0.10.1 - 2022-02-07
- PR#46 fixed comparison of dynamic target families.
0.10.0 - 2022-02-04
- PR#44 added support for multiple target families that are available from Rust 1.58.0+. Thanks @sunshowers!
0.9.1 - 2022-02-01
- PR#42 updated the builtin target list to 1.58.0. Thanks @sunshowers!
0.9.0 - 2021-08-31
- PR#35 changed
TargetInfo
,Os
,Arch
,Env
, andVendor
to use aCow<'static, str>
to avoid the need for lifetime parameters for the common case of statically known target information, but still support arbitrary/future variants. Thanks @sunshowers! - PR#38 updated the built-in target list to
1.54.0
, which notably includes the addition of the newwasm
variant totarget_family
. Thanks @sunshowers!
- PR#33 added clippy.toml with an
msrv
so clippy lints are consistent across environments. Thanks @remilauzier!
0.8.1 - 2021-08-05
- PR#31 reverted the usage of "or patterns" that were only added in 1.53.0. We now state the MSRV as 1.52.0. Thanks @cgwalters!
0.8.0 - 2021-07-16
- PR#28 updated target-lexicon to 0.12. Thanks @remilauzier!
- PR#29 updated the built-in target list to 1.53.0.
0.7.4 - 2021-03-16
- PR#26 added
Expression::original
to get the original string the expression was parsed from. Thanks @gdesmott!
0.7.3 - 2021-03-16
0.7.2 - 2021-03-16
- PR#23 added a
PartialEq
implementation forExpression
, primarily for cases where anExpression
is stored in a type that itself requiresPartialEq
. This is only a simple syntactical equality check. Thanks @gdesmott!
0.7.1 - 2021-02-17
- Fixed support for the
uclibceabi
environment added for one target in rust 1.50.0.
0.7.0 - 2021-02-12
- Updated the builtin target list to Rust 1.50.0. Again, somewhat of a breaking change as many targets were removed or changed.
- Update smallvec to fix an advisory
0.6.0 - 2021-01-04
- Updated the builtin target list to Rust 1.49.0, this is somewhat of a breaking change, as rustc now considers all
android
targets to have thegnu
environment, where previously, it was unspecified.
0.5.1 - 2020-12-15
- Updated the builtin target list to Rust 1.48.0
0.5.0 - 2020-10-20
- Updated the builtin target list to Rust 1.47.0
0.4.1 - 2020-06-04
- Removed
dbg!
prints accidentally left in.
0.4.0 - 2020-06-04
- PR#9 added the optional
targets
feature, which allows matching the varioustarget_
predicates against atarget_lexicon::Triple
.
- PR#9 changed the
Arch
,Vendor
,Os
, andEnv
types to not 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 - 2020-04-05
- PR#7 changed
Expression::eval
to take aLogic
trait, to enable evaluation of 'unknown' predicates. Thanks @sunshowers!
0.2.1 - 2020-03-30
- PR#6 fixed nested predicate evaluation. Thanks @sunshowers!
0.2.0 - 2020-02-05
- Added
targets::rustc_version
which can be used to retrieve the version string of the rustc used to generate the list of targets.
targets::ALL
now uses the built-in targets for rustc 1.41.0
0.1.0 - 2020-01-09
- Initial add of all the things