jsonwebtoken/examples
Kellen Frodelius-Fujimoto 6bac1bdbf0
Add example of using `chrono::DateTime` in claims
Using `chrono`'s `serde` feature uses ISO 8601 instead of a Unix 
timestamp as specified in RFC 7519 section 2, "NumericDate". This 
example uses  custom de/serialize functions as shown in the [serde.rs 
example, "Custom Date 
Format"](https://serde.rs/custom-date-format.html).

NOTE: Currently fractional values are not supported in the example, 
though they are in the spec.
2019-04-01 12:11:28 +02:00
..
custom_chrono.rs Add example of using `chrono::DateTime` in claims 2019-04-01 12:11:28 +02:00
custom_header.rs rustfmt 2018-10-28 19:58:35 +01:00
validation.rs rustfmt 2018-10-28 19:58:35 +01:00