0.2.13: beta stabilization and optional rustc_serialize deps.

- This version is finally beta-compatible.

  This introduces a slight incompatibility, namely, due to
  the rewired reexport for `chrono::Duration` (which now comes
  from crates.io `time` crate).

- The optional dependency on `rustc_serialize` and relevant
  `Rustc{En,De}codable` implementations for supported types
  has been added. You will need the `rustc-serialize` Cargo
  feature to use them.
This commit is contained in:
Kang Seonghoon 2015-04-29 02:08:32 +09:00
parent ead64806c5
commit 90ac81e9f9
4 changed files with 33 additions and 5 deletions

View File

@ -8,6 +8,19 @@ 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.13 (2015-04-29)
### Added
- The optional dependency on `rustc_serialize` and
relevant `Rustc{En,De}codable` implementations for supported types has been added.
This is enabled by the `rustc-serialize` Cargo feature. (#34)
### Changed
- `chrono::Duration` reexport is changed to that of crates.io `time` crate.
This enables Rust 1.0 beta compatibility.
## 0.2.4 (2015-03-03) ## 0.2.4 (2015-03-03)
### Fixed ### Fixed

View File

@ -1,6 +1,6 @@
[package] [package]
name = "chrono" name = "chrono"
version = "0.2.12" version = "0.2.13"
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"
@ -18,3 +18,4 @@ name = "chrono"
time = "*" time = "*"
num = "*" num = "*"
rustc-serialize = { version = "0.3", optional = true } rustc-serialize = { version = "0.3", optional = true }

View File

@ -1,4 +1,4 @@
[Chrono][doc] 0.2.12 [Chrono][doc] 0.2.13
==================== ====================
[![Chrono on Travis CI][travis-image]][travis] [![Chrono on Travis CI][travis-image]][travis]
@ -34,7 +34,14 @@ Put this in your `Cargo.toml`:
chrono = "0.2" chrono = "0.2"
``` ```
And this in your crate root: Or in the case you are using Rust 1.0 beta, pin the exact version:
```toml
[dependencies]
chrono = "=0.2.13"
```
And put this in your crate root:
```rust ```rust
extern crate chrono; extern crate chrono;

View File

@ -4,7 +4,7 @@
/*! /*!
# Chrono 0.2.12 # Chrono 0.2.13
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.
@ -30,7 +30,14 @@ Put this in your `Cargo.toml`:
chrono = "0.2" chrono = "0.2"
``` ```
And this in your crate root: Or in the case you are using Rust 1.0 beta, pin the exact version:
```toml
[dependencies]
chrono = "=0.2.13"
```
And put this in your crate root:
```rust ```rust
extern crate chrono; extern crate chrono;