Skip to content

Commit

Permalink
0.2.13: beta stabilization and optional rustc_serialize deps.
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
lifthrasiir committed Apr 28, 2015
1 parent ead6480 commit 90ac81e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.2.12"
version = "0.2.13"
authors = ["Kang Seonghoon <[email protected]>"]

description = "Date and time library for Rust"
Expand All @@ -18,3 +18,4 @@ name = "chrono"
time = "*"
num = "*"
rustc-serialize = { version = "0.3", optional = true }

11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Chrono][doc] 0.2.12
[Chrono][doc] 0.2.13
====================

[![Chrono on Travis CI][travis-image]][travis]
Expand Down Expand Up @@ -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;
Expand Down
11 changes: 9 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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;
Expand Down

0 comments on commit 90ac81e

Please sign in to comment.