0.2.17: Added a serde support for date and time types. (#51)

This commit is contained in:
Kang Seonghoon 2015-11-22 03:27:08 +09:00
parent 7153dc02b7
commit 2c11364410
5 changed files with 13 additions and 5 deletions

View File

@ -10,6 +10,7 @@ Huon Wilson <dbau.pp+github@gmail.com>
Jisoo Park <xxxyel@gmail.com> Jisoo Park <xxxyel@gmail.com>
John Nagle <nagle@sitetruth.com> John Nagle <nagle@sitetruth.com>
Ken Tossell <ken@tossell.net> Ken Tossell <ken@tossell.net>
Martin Risell Lilja <martin.risell.lilja@gmail.com>
Steve Klabnik <steve@steveklabnik.com> Steve Klabnik <steve@steveklabnik.com>
Tom Gallacher <tomgallacher23@gmail.com> Tom Gallacher <tomgallacher23@gmail.com>
klutzy <klutzytheklutzy@gmail.com> klutzy <klutzytheklutzy@gmail.com>

View File

@ -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. 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. 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) ## 0.2.16 (2015-09-06)
### Added ### Added

View File

@ -1,6 +1,6 @@
[package] [package]
name = "chrono" name = "chrono"
version = "0.2.16" version = "0.2.17"
authors = ["Kang Seonghoon <public+rust@mearie.org>"] authors = ["Kang Seonghoon <public+rust@mearie.org>"]
description = "Date and time library for Rust" description = "Date and time library for Rust"
@ -15,8 +15,8 @@ license = "MIT/Apache-2.0"
name = "chrono" name = "chrono"
[dependencies] [dependencies]
time = "*" time = "0.1"
num = "*" num = "0.1"
rustc-serialize = { version = "0.3", optional = true } rustc-serialize = { version = "0.3", optional = true }
serde = { version = "^0.6.0", optional = true } serde = { version = "^0.6.0", optional = true }

View File

@ -1,4 +1,4 @@
[Chrono][doc] 0.2.16 [Chrono][doc] 0.2.17
==================== ====================
[![Chrono on Travis CI][travis-image]][travis] [![Chrono on Travis CI][travis-image]][travis]

View File

@ -4,7 +4,7 @@
/*! /*!
# Chrono 0.2.16 # Chrono 0.2.17
Date and time handling for Rust. (also known as `rust-chrono`) 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. It aims to be a feature-complete superset of the [time](https://github.com/rust-lang/time) library.