0.2.6: language changes and dependency updates.

- `range` is now deprecated.

- `str_char` feature gate is split out from `collections`.
This commit is contained in:
Kang Seonghoon 2015-03-21 22:01:52 +09:00
parent 848d828e24
commit a5bd6c040e
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.2.5"
version = "0.2.6"
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
description = "Date and time library for Rust"
@ -15,5 +15,5 @@ license = "MIT/Apache-2.0"
name = "chrono"
[dependencies]
time = "0.1.19"
time = "0.1.20"

View File

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

View File

@ -4,7 +4,7 @@
/*!
# Chrono 0.2.5
# Chrono 0.2.6
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.
@ -266,7 +266,7 @@ Advanced time zone handling is not yet supported (but is planned in 0.3).
#![doc(html_root_url = "https://lifthrasiir.github.io/rust-chrono/")]
#![feature(core, collections, std_misc)] // lib stability features as per RFC #507
#![feature(core, str_char, std_misc)] // lib stability features as per RFC #507
#![cfg_attr(test, feature(test))] // ditto
#![deny(missing_docs)]

View File

@ -1537,7 +1537,7 @@ mod internals {
#[bench]
fn bench_year_flags_from_year(bh: &mut test::Bencher) {
bh.iter(|| {
for year in range(-999i32, 1000) {
for year in -999i32..1000 {
YearFlags::from_year(year);
}
});