diff --git a/CHANGELOG.md b/CHANGELOG.md index ea49820131..22c32f51ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. 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) ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 926a1c5b3a..ac5c4eeb01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrono" -version = "0.2.12" +version = "0.2.13" authors = ["Kang Seonghoon "] description = "Date and time library for Rust" @@ -18,3 +18,4 @@ name = "chrono" time = "*" num = "*" rustc-serialize = { version = "0.3", optional = true } + diff --git a/README.md b/README.md index 566fd2176e..3680bd687b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[Chrono][doc] 0.2.12 +[Chrono][doc] 0.2.13 ==================== [![Chrono on Travis CI][travis-image]][travis] @@ -34,7 +34,14 @@ Put this in your `Cargo.toml`: 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 extern crate chrono; diff --git a/src/lib.rs b/src/lib.rs index ab4c4448a4..8f4a81bda0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ /*! -# Chrono 0.2.12 +# Chrono 0.2.13 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. @@ -30,7 +30,14 @@ Put this in your `Cargo.toml`: 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 extern crate chrono;