From 4dda64bbbb669019373f5229646db452136d649f Mon Sep 17 00:00:00 2001 From: Dmitry Date: Fri, 10 Dec 2021 19:10:34 +0300 Subject: [PATCH] Fix wrongly disabled default timestamps feature Hi! I have noticed that after commits, which replaces "chrono" dependency with "time", logger does not print timestamps by default. In this https://github.com/borntyping/rust-simple_logger/blob/main/src/lib.rs#L37 line, "chrono" feature-gate was used before dependency changes. Now it is "timestamps". So I just try to actualize default feature gates in project manifest. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a043b0c..eefcf4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/borntyping/rust-simple_logger" edition = "2018" [features] -default = ["colored", "time"] +default = ["colored", "timestamps"] colors = ["colored"] threads = [] timestamps = ["time"]