When upgrading to chrono v0.4.27, the following warnings happen:
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src/utils/time.rs:26:29
|
26 | return Ok(DateTime::from_utc(
| ^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
--> src/utils/time.rs:35:18
|
35 | Ok(DateTime::from_utc(
| ^^^^^^^^
warning: `evtx` (lib) generated 2 warnings
When upgrading to chrono v0.4.27, the following warnings happen: