Skip to content

Commit b76edea

Browse files
committed
Drop transitive dependency on time crate
It turns out that it is not required by the chrono crate. It was made optional in chrono version 0.4.16, see: chronotope/chrono#478. Require chrono 0.4.16 in Cargo.toml, as before that, the clock feature pulled in the time crate, so that specifying no defaults and precisely "clock" and "std" will still pull in the time crate, transitively. Signed-off-by: mulhern <amulhern@redhat.com>
1 parent bc975ff commit b76edea

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ name = "stratis-utils"
4040

4141
[dependencies]
4242
byteorder = "1.2.3"
43-
chrono = "0.4.1"
4443
clap = "2.23.0"
4544
crc = "1.0.0"
4645
data-encoding = "2.3.0"
@@ -63,6 +62,11 @@ serde_json = "1.0.50"
6362
sha2 = "0.9.3"
6463
tempfile = "3.0.2"
6564

65+
[dependencies.chrono]
66+
version = "0.4.16"
67+
default-features = false
68+
features = ["clock", "std"]
69+
6670
[dependencies.libcryptsetup-rs]
6771
version = "0.4.3"
6872
features = ["mutex"]

0 commit comments

Comments
 (0)