refactor(journaldriver): Use time crate directly instead of chrono

With this change, we still depend on chrono (through medallion), but
but I'm going to try and fix that upstream as well.

Change-Id: Iefd3d8578ea8870961107f3222dea7f936c2dd9a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5311
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2022-02-18 12:49:59 +03:00 committed by clbot
parent af512558e6
commit 71d6a02ca1
4 changed files with 47 additions and 25 deletions

View file

@ -7,7 +7,6 @@ edition = "2021"
[dependencies]
anyhow = "1.0"
chrono = { version = "0.4", features = [ "serde" ]}
env_logger = "0.5"
lazy_static = "1.0"
log = "0.4"
@ -16,6 +15,7 @@ serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
systemd = "0.3"
time = { version = "0.3", features = [ "serde-well-known", "macros" ]}
ureq = { version = "0.6.2", features = [ "json" ]}
[build-dependencies]