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.
NamePredicate
now adds itself to the Case
returned by find_case
.BooleanPredicate
now implements Predicate<T>
where T: ?Sized
(#84)?Sized
types for FnPredicate
.str_pred.normalize()
predicate.Predicate
.find_case
) which can be combined with the new predicates-tree
crate.predicates-core
for reducing ecosystem breaking changes.PredicateReflection
Predicate
expressionseq_file
predicate to test a file-under-test with a fixture, closes #32.eq_file(...).utf()
adapter to do string comparisons with the fixturefrom_file_path
extension method to Predicate<[u8]>
that turns it into a Predicate<Path>
, closes #31.is_close
Predicate (see #11).is_file
, is_dir
, is_symlink
(see #8).exists
, missing
(see #8).is_empty
, starts_with
, ends_with
, and contains
with optional count (see #25).Predicate
trait from Associated Types to Generics.set
predicates as iter
predicates to clarify the intent from some implementation.contains
-> in_iter
contains_hashable
-> in_hash
contains_ord
into a specialization of in_iter
by adding a sort
method.BoxPredicate
type that wraps a Predicate
trait object to make it easier to store and work with predicates through a program. Also implements Debug
and Display
wrappers as a convenience.FnPredicate
type that wraps a function of the type Fn(&T) -> bool
in a Predicate
type.boxed
function now returns a type BoxPredicate
instead of a type alias.Item
type parameter of Predicate
no longer has the Sized
restriction.predicate
private, with their public interfaces exposed through pub use
in the predicate
mod.rs
file.