r3bl-org/r3bl-open-core

[all] Remove `simplelog` dep

Closed this issue · 0 comments

Remove dep on simplelog which is pulling in a really old version of termcolor which is causing issues w/ other crates that use termcolor and r3bl_tuify.

My guess as to the root cause of the problem is that the conditional compilation flags that were marking the termcolor dependency as optional were confusing cargo and it couldn't decide what to do. I am not sure though. However, removing the termcolor feature flag does fix the issue (along w/ pinning the crate to its latest version).

Here's the fix:
https://github.com/nazmulidris/simple_logger

Next steps:

  1. Incorporate the repo above into the r3bl_rs_utils workspace
  2. Get it compiled and working (move all the logging logging out of core folder into the new simple_logger folder.
  3. Optional - can we just get rid of the termcolor and ansi_term deps all together? Are they even needed for this simple logger to function?