Cargo Features

systemd-duration has no features set by default.

[dependencies]
systemd-duration = { version = "0.2.0", features = ["with-chrono", "with-time"] }
with-chrono

Enables chrono

Affects duration::chrono, systemd-duration::chrono

with-time

Enables time

Affects duration::time, systemd-duration::time