colored-rs / colored

(Rust) Coloring terminal so simple you already know how to do it !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

current release doesn't support rust 1.34

jlevon opened this issue · comments

Building the current head gives:

error[E0658]: use of unstable library feature 'copied' (see issue #57126)
   --> /home/jlevon/.cargo/registry/src/github.com-1ecc6299db9ec823/colored-1.9.2/src/lib.rs:311:31
    |
311 |         self.fgcolor.as_ref().copied()
    |                               ^^^^^^

error[E0658]: use of unstable library feature 'copied' (see issue #57126)
   --> /home/jlevon/.cargo/registry/src/github.com-1ecc6299db9ec823/colored-1.9.2/src/lib.rs:324:31
    |
324 |         self.bgcolor.as_ref().copied()
    |                               ^^^^^^

If it's intentional that this crate now requires unstable library feature, should the README be updated with the minimal rust version?

Thanks for report! I have fixed it in v1.9.3