Drakulix / simplelog.rs

Simple Logging Facility for Rust
https://docs.rs/simplelog/
Apache License 2.0
423 stars 71 forks source link

Derive useful traits for the terminal mode type. #56

Closed panhania closed 4 years ago

panhania commented 4 years ago

TerminalMode is just a plain enum, I see no reason for preventing it from having implementations of Copy, Eq, Debug and Hash. Without it, it is not possible to easily embed it in other types for which we wish to derive these traits as well (a case that I stumbled upon in my project).

coveralls commented 4 years ago

Coverage Status

Coverage increased (+3.2%) to 65.447% when pulling 5089bbaa607567707a23c1731682e60a2c6d1823 on panhania:master into 19dbbbccba31b149c0a8e49022fefebab1f42cd6 on Drakulix:master.

Drakulix commented 4 years ago

Thanks!

Released as 0.7.6