瀏覽代碼

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.
Dmitry 3 年之前
父節點
當前提交
4dda64bbbb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Cargo.toml

+ 1 - 1
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"]