From 28f4c7acd2ea5e093e12d30977dd68023420a3ae Mon Sep 17 00:00:00 2001 From: Eunchong Yu Date: Sun, 26 Apr 2015 15:32:23 +0900 Subject: [PATCH] Remove unstable feature 'std-misc' --- src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 82b32fd..4cd932f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -100,7 +100,6 @@ Addition and subtraction is also supported. The following illustrates most supported operations to the date and time: ~~~~ {.rust} -# #![feature(std_misc)] use chrono::*; # /* we intentionally fake the datetime... @@ -267,8 +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(std_misc)] // lib stability features as per RFC #507 -#![cfg_attr(test, feature(test))] // ditto +#![cfg_attr(test, feature(test))] // lib stability features as per RFC #507 #![deny(missing_docs)] extern crate time as stdtime; @@ -297,7 +295,7 @@ pub mod duration { //! //! This used to be a part of rust-chrono, //! but has been subsequently merged into Rust's standard library. - pub use std::time::duration::{MIN, MAX, Duration}; + pub use stdtime::Duration; } pub mod offset; pub mod naive {