cucumber-rs / cucumber

Cucumber testing framework for Rust. Fully native, no external test runners or dependencies.
https://cucumber-rs.github.io/cucumber/main
Apache License 2.0
564 stars 69 forks source link

Replace `atty` crate with `is-terminal` #260

Closed tyranron closed 1 year ago

tyranron commented 1 year ago

Picks up #259

The atty crate has been reported by advisories as problematic and not maintained any longer. Switching to is_terminal instead, as a safer and portable replacement (as it does not use atty in the production code).

I've made a practical check in the app that uses cucumber, and I get identical coloured stdout messages while running the test suite.