Skip to content

atty is unmaintained #1959

Description

@iliana

GHSA-g98v-hv3f-hcfr

This appears to be the only use:

crucible/common/src/lib.rs

Lines 381 to 382 in 2c32347

pub fn build_logger_with_level(level: slog::Level) -> slog::Logger {
let main_drain = if atty::is(atty::Stream::Stdout) {

std has a replacement for this: https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions