Crate serde_duration_ext

Source
Expand description

Serde support for Duration and chrono::Duration

§Installation

Add the following to your Cargo.toml:

[dependencies]
serde_duration_ext = "0.1.0"

Also you can enable the chrono feature to support chrono::Duration

[dependencies]
serde_duration_ext = { version = "0.1.0", features = ["chrono"] }

§Usage

Modules§

error

Structs§

DurationUnit

Enums§

TimeUnit

Functions§

deserialize