From b14069bc2164ecbdd8292eb41f5fc86d04ba39a4 Mon Sep 17 00:00:00 2001 From: Daniel Parks Date: Wed, 5 Jul 2023 16:17:59 -0700 Subject: [PATCH] Adjust dependency to support termcolor 1.2 The [1.2.0 update] to [termcolor] is backward compatible with the 1.1 versions. This adjusts the version specification for the dependency in Cargo.toml to allow any version greater than or equal to 1.1 and less than 2.0. [1.2.0 update]: https://github.com/BurntSushi/termcolor/compare/1.1.3...1.2.0 [termcolor]: https://crates.io/crates/termcolor --- CHANGELOG.md | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a94ea55c..3ce7fc74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Unreleased - The `new` method of loggers are now `#[must_use]` to prevent confusion when `new` is used called instead of `init` + - Adjusted dependency to support termcolor crate version 1.2 (PR #131, credits to @danielparks) ## v0.12.0 - Replaces the semingly unmaintained chrono library with the time crate. - Addresses through this update diff --git a/Cargo.toml b/Cargo.toml index 6ebc6322..47a7b25d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ local-offset = ["time/local-offset"] [dependencies] log = { version = "0.4.*", features = ["std"] } -termcolor = { version = "1.1.*", optional = true } +termcolor = { version = "1.1", optional = true } paris = { version = "~1.5.12", optional = true } ansi_term = { version = "0.12", optional = true } time = { version = "0.3.7", features = ["formatting", "macros"] }