eyre-rs / color-eyre

Custom hooks for colorful human oriented error reports via panics and the eyre crate
Other
960 stars 56 forks source link

Customizable environment variables #119

Open figsoda opened 2 years ago

figsoda commented 2 years ago

Is it possible to change env vars for RUST_BACKTRACE and COLORBT_SHOW_HIDDEN?

thenorili commented 11 months ago

Is it possible to change env vars for RUST_BACKTRACE and COLORBT_SHOW_HIDDEN?

Currently no. What would be the motivation for this feature, does the environment variable present some conflict for you?

figsoda commented 11 months ago

What would be the motivation for this feature, does the environment variable present some conflict for you?

It's not a conflict for me, I just thought it would be nice to have the choice to change them, kind of like tracing_subscriber::EnvFilter::from_env

thenorili commented 11 months ago

Well thank you for the suggestion : )