Skip to content

Commit

Permalink
0.2.6: language changes and dependency updates.
Browse files Browse the repository at this point in the history
- `range` is now deprecated.

- `str_char` feature gate is split out from `collections`.
  • Loading branch information
lifthrasiir committed Mar 21, 2015
1 parent 848d828 commit a5bd6c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.2.5"
version = "0.2.6"
authors = ["Kang Seonghoon <[email protected]>"]

description = "Date and time library for Rust"
Expand All @@ -15,5 +15,5 @@ license = "MIT/Apache-2.0"
name = "chrono"

[dependencies]
time = "0.1.19"
time = "0.1.20"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Chrono][doc] 0.2.5
[Chrono][doc] 0.2.6
===================

[![Chrono on Travis CI][travis-image]][travis]
Expand Down
4 changes: 2 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.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.
Expand Down Expand Up @@ -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)]

Expand Down
2 changes: 1 addition & 1 deletion src/naive/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});
Expand Down

0 comments on commit a5bd6c0

Please sign in to comment.