Cargo Features
[dependencies]
predicates = { version = "3.1.3", default-features = false, features = ["diff", "unstable", "color", "normalize-line-endings", "regex", "float-cmp"] }
- default = color, diff, float-cmp, normalize-line-endings, regex
-
These default features are set whenever
predicates
is added without
somewhere in the dependency tree.default-features = false - diff default
-
Enables difflib
- unstable
- color default
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- normalize-line-endings default
-
Affects
adapters::PredicateStrExt.normalize
… - regex default
- float-cmp default