-
Notifications
You must be signed in to change notification settings - Fork 4
Programmatic init()
with full detection, but without the Cargo feature?
#46
Comments
As a heads up, when I landed on the design for anstream, it ended up completely negating the need for As for your this issue, the details aren't too clear to me.
|
Oops, that's good to know, not sure how I missed that. I guess that kinda makes this a non-issue: starting adoption of a library that's already on life-support sounds like a terrible idea. Still, answers in case they're useful somehow:
Let me expand on "cargo features are completely unified". There's one single place where external dependencies (i.e. OSS crates from
Cue much debugging, confusion, and gnashing of teeth, engineers shouting "SpOoKy AcTiOn at a distance!"
I meant: I'd like to be able to call something like Edit: there's potentially better ways of achieving what I wanted, but given the status of |
You likely missed it because we hadn't done comms on it yet. We were giving it a period if rest before moving further with it. #47 is the official announcement |
Hi!
concolor
is really cool, and I want us to start using it! Unfortunately in our largebuck2
-managed monorepo cargo features are completely unified. This means internal libraries can't depend on a non-auto
version without completely losingauto
everywhere.Would you consider exposing a way to programatically (re-)trigger detection as if the
auto
feature was enabled? That would let us integrate this in a central place used only in our CLIs, and keep the dependencydefault-features = false
(and so safe to use in internal libraries, without fear of unintentionally "poisoning" builds).(If you’re concerned about this undermining the intended usage of
concolor
, I think an approach like Tokio's unstable features could work here: https://docs.rs/tokio/latest/tokio/#unstable-features)The text was updated successfully, but these errors were encountered: