Cargo Features
[dependencies]
k9 = { version = "0.12.0", default-features = false, features = ["custom_comparison_formatters", "regex"] }
- default = regex
-
The
regex
feature is set by default wheneverk9
is added without
somewhere in the dependency tree.default-features = false - custom_comparison_formatters
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.
- regex default
-
Affects
assertions::err_matches_regex
,assertions::matches_regex
…