Browse Source

upgrade to colored 2.0

The 2.0 release of colored has only a minor API change that doesn't
affect its usage in this crate:
https://github.com/mackwic/colored/blob/v2.0.0/CHANGELOG.md
Dan Callaghan 3 năm trước cách đây
mục cha
commit
2c6c7ec7ec
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Cargo.toml

+ 1 - 1
Cargo.toml

@@ -18,7 +18,7 @@ stderr = []
 [dependencies]
 log = { version = "^0.4.5", features = ["std"] }
 time = { version = "0.3.5", features = ["formatting", "local-offset", "macros"], optional = true }
-colored = { version = "^1.6", optional = true }
+colored = { version = "2", optional = true }
 
 [target.'cfg(windows)'.dependencies]
 atty = "0.2.13"