-
Notifications
You must be signed in to change notification settings - Fork 8
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
RUSTSEC-2024-0375: atty
is unmaintained
#133
Comments
I thought I would quickly tackle this one, I was wrong 😅 The main user of Another user is an old version of clap v2. The matching cargo tree is:
There are multiple problems with this dependency chain. But I am also a bit unhappy with the tight coupling / circular dependency between Brane and policy reasoner here. I might be wrong, but I think it is problematic to have policy reasoner (or its tools) depend on Brane(ctl). Maybe it is good to split off these tools into a separate crate that can depend on both crates, but that is just a collection of these niceties. I am curious what you think, I think/hope clearing these things up will long term help with the stability and maintainability of the ecosystem. |
I agree, it's horrible, lol. I can't remember exactly what parts of If you're serious about it, though (and I'd be all for it), can you maybe make an issue where the list the dependencies between the two projects? I know for sure that the |
Anyway, regarding this issue, I just merged the removal of that dependency over at |
It's a tough one. Papercuts like this do hinder my productivity by quite a lot, as the maintenance burden can be quite high. Updates like the To mitigate a big part of the problem, I want to define dependencies like enum debug as workspace dependencies, so all are always defined at the same version and I don't have to hunt down that one I forgot somewhere. If a refactor like that is worth, it will be hard to predict. Until I have exhausted the alternatives, I think I'm going to follow your footsteps and push that off for now.
Almost, could you release a patch (I think) version for humanlog? And maybe solve this issue #140 in the same release 😇. The clap dependency has been resolved. I am waiting on the backlog of PRs to be resolved (no hurry, just don't want to create merge conflicts on every merge) and I will then do a workspace wide cargo update on both repositories which will get rid of these old dependencies. After we are golden and we can close this issue. |
Released the patch 👍 |
Great, it has been updated in #140. Once we merge it, only the one via clap and |
atty
0.2.14
The maintainer of
atty
has published an official notice that the crate is no longerunder development, and that users should instead rely on the functionality in the standard library's
IsTerminal
trait.Alternative(s)
atty
maintainer.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: