assert_cmd icon indicating copy to clipboard operation
assert_cmd copied to clipboard

Reexport `predicates` in crate root

Open tgross35 opened this issue 2 years ago • 1 comments

Would it be possible to pub use predicates in the crate root? Since the crate is somewhat fundamental to output testing, it would be convenient to have direct access. One dependency fewer to name in Cargo.toml with the added benefit of knowing the version is always correct.

I am surprised this hasn't been asked before... maybe I just couldn't find it.

tgross35 avatar Nov 22 '23 08:11 tgross35

Predicates was intentionally left out of the - public API, wrapping things in newtypes and using predicates-core.

epage avatar Nov 22 '23 14:11 epage