emabee / flexi_logger

A flexible logger for rust programs that can write to stderr, stdout, and/or to log files
Apache License 2.0
307 stars 50 forks source link

Make UTC offsets possible again #120

Closed vmx closed 1 year ago

vmx commented 1 year ago

It would be great if it would be possible to get UTC offsets without hitting RUSTSEC-2020-0159. I see two ways:

  1. Require v0.4.20 of chrono in the Cargo.toml. In that version that issue was fixed. This way, folks that want that feature can enable the use_chrono_for_offset feature and be good.
  2. Switching back from time to chrono, then thr use_chrono_for_offset feature can be removed.