Skip to content

Commit

Permalink
Adjust dependency to support termcolor 1.2
Browse files Browse the repository at this point in the history
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]: BurntSushi/termcolor@1.1.3...1.2.0
[termcolor]: https://crates.io/crates/termcolor
  • Loading branch information
danielparks committed Aug 31, 2023
1 parent 5f345b5 commit b14069b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }

0 comments on commit b14069b

Please sign in to comment.