Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: switch from atty crate to crossterm #783

Merged
merged 1 commit into from
Nov 24, 2022

Commits on Nov 24, 2022

  1. cli: use is_tty() from crossterm crate instead of atty

    The `atty` crate seems unmaintained. There's
    https://rustsec.org/advisories/RUSTSEC-2021-0145 filed against it,
    which `cargo-deny` complains about. A fix for that has been open for
    well over a year without being fixed
    (softprops/atty#51). It turns out the
    functionality is also available via the `crossterm` crate (thanks,
    @yuja), which we already depend on.
    
    Since we also depend on `atty` via `clap`, I also added an exception
    to the `cargo-deny` config.
    martinvonz committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    bb3d480 View commit details
    Browse the repository at this point in the history