dalance / termbg

A Rust library for terminal background color detection
Apache License 2.0
80 stars 5 forks source link

feat: upgrade crossterm to 0.27.0 #22

Closed adrianbenavides closed 5 months ago

adrianbenavides commented 5 months ago

The current crossterm version has a dependency to a mio version that has a vulnerability: https://github.com/tokio-rs/mio/security/advisories/GHSA-r8w9-5wcg-vfj7

This upgrade introduces a breaking change, as all results returned by crossterm are now standard std:io::Result, so there is no need to map crossterm errors anymore.

This PR would also close the dependabot PR: https://github.com/dalance/termbg/pull/16

dalance commented 5 months ago

Thank you for your contribution! I'll merge this, and release new version.

adrianbenavides commented 5 months ago

Thanks @dalance 🙏

dalance commented 5 months ago

I've released v0.5.0.