Open indietyp opened 1 year ago
The supports-color crate is only available in std environments, owo-colors does not mention that this is the case.
supports-color
std
owo-colors
Would it be possible to extend owo-colors feature set to include std, to make this dependency clear via different features?
[features] std = [] supports-colors = ['std']
Ideally, it'd be great to decouple supports-colors and std further by still having the override present.
supports-colors
This would be beneficial for embedded systems. One could also use build-time environment variables to set the default (like defmt does).
defmt
Happy to create a PR!
This looks good to me, feel free to submit a PR, let's get this and your other changes in for the upcoming 4.0.0 release
The
supports-color
crate is only available instd
environments,owo-colors
does not mention that this is the case.Would it be possible to extend
owo-colors
feature set to includestd
, to make this dependency clear via different features?Ideally, it'd be great to decouple
supports-colors
andstd
further by still having the override present.This would be beneficial for embedded systems. One could also use build-time environment variables to set the default (like
defmt
does).Happy to create a PR!