rust-cli / anstyle

ANSI text styling
https://docs.rs/anstyle
Other
106 stars 16 forks source link

[Feature Request] Upgrade to `is-terminal` v0.4.6 or later #96

Closed kevinmatthes closed 1 year ago

kevinmatthes commented 1 year ago

Due to an internal compiler error in rustc v1.69.0, Clap v4.1.8 and later cannot be documented anymore due a redundant documentation comment in rustix v0.36.9 which was propagated by is-terminal v0.4.4 directly to Clap. The rustix team already works on a fix for the v0.36.x series of their crate, see https://github.com/bytecodealliance/rustix/pull/627, but the more current v0.37.x series already has the problem fixed.

Your direct dependency is-terminal applies a fixed version of rustix beginning with v0.4.6, see https://github.com/sunfishcode/is-terminal/pull/20 and https://github.com/sunfishcode/is-terminal/issues/22 for further details. I would like to ask you to consider an upgrade to at least is-terminal v0.4.6 in order to fix documentation problems of Clap v4.1.8 and later with Rust v1.69.0. This would also solve https://github.com/clap-rs/clap/discussions/4855.