From 2c113644108c80b0eb3aa91f08d7f9cbafc82b02 Mon Sep 17 00:00:00 2001 From: Kang Seonghoon Date: Sun, 22 Nov 2015 03:27:08 +0900 Subject: [PATCH] 0.2.17: Added a serde support for date and time types. (#51) --- AUTHORS.txt | 1 + CHANGELOG.md | 7 +++++++ Cargo.toml | 6 +++--- README.md | 2 +- src/lib.rs | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 794371baf8..0589cddd16 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -10,6 +10,7 @@ Huon Wilson Jisoo Park John Nagle Ken Tossell +Martin Risell Lilja Steve Klabnik Tom Gallacher klutzy diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc0eb8fe8..dab70e6811 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ Chrono obeys the principle of [Semantic Versioning](http://semver.org/). There were/are numerous minor versions before 1.0 due to the language changes. Versions with only mechnical changes will be omitted from the following list. +## 0.2.17 (2015-11-22) + +### Added + +- Naive date and time types and `DateTime` now have a `serde` support. + They serialize as an ISO 8601 / RFC 3339 string just like `Debug`. (#51) + ## 0.2.16 (2015-09-06) ### Added diff --git a/Cargo.toml b/Cargo.toml index 326367e5b9..a509f4977c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrono" -version = "0.2.16" +version = "0.2.17" authors = ["Kang Seonghoon "] description = "Date and time library for Rust" @@ -15,8 +15,8 @@ license = "MIT/Apache-2.0" name = "chrono" [dependencies] -time = "*" -num = "*" +time = "0.1" +num = "0.1" rustc-serialize = { version = "0.3", optional = true } serde = { version = "^0.6.0", optional = true } diff --git a/README.md b/README.md index adf81cfbab..4cc2e5b415 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[Chrono][doc] 0.2.16 +[Chrono][doc] 0.2.17 ==================== [![Chrono on Travis CI][travis-image]][travis] diff --git a/src/lib.rs b/src/lib.rs index 7dd084a7fc..11f9795894 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ /*! -# Chrono 0.2.16 +# Chrono 0.2.17 Date and time handling for Rust. (also known as `rust-chrono`) It aims to be a feature-complete superset of the [time](https://github.com/rust-lang/time) library.