Open bconn98 opened 3 months ago
Refactor COLOR_MODE from lazy_static to OnceCell to make it more easily testable. To maintain backward compatibility of ~1 year, once_cell can be used until MSRV reaches 1.71 when OnceCell becomes available in std library.
once_cell
Refactor COLOR_MODE from lazy_static to OnceCell to make it more easily testable. To maintain backward compatibility of ~1 year,
once_cell
can be used until MSRV reaches 1.71 when OnceCell becomes available in std library.