@@ -6,34 +6,36 @@ This project adheres to [Semantic Versioning](https://semver.org).
66
77## [ Unreleased]
88
9- - Add `Duration::{as_secs_f64, as_secs_f32, from_secs_f64, from_secs_f32,
10- mul_f64, mul_f32, div_f64, div_f32}` methods.
9+ ## [ 0.2.0] - 2021-01-03
10+
11+ - [ Add `Duration::{as_secs_f64, as_secs_f32, from_secs_f64, from_secs_f32,
12+ mul_f64, mul_f32, div_f64, div_f32}` methods.] ( https://github.com/taiki-e/easytime/pull/21 )
1113 They are based on [ ` duration_float ` ] ( https://github.com/rust-lang/rust/issues/54361 )
1214 feature of the standard library that stabilized on Rust 1.38.
1315
14- - Make `Duration::{as_secs, subsec_millis, subsec_micros, subsec_nanos,
16+ - [ Make `Duration::{as_secs, subsec_millis, subsec_micros, subsec_nanos,
1517 as_millis, as_micros, as_nanos, is_some, is_none, unwrap_or}` const function
16- on rustc 1.46+.
18+ on rustc 1.46+.] ( https://github.com/taiki-e/easytime/pull/19 )
1719
18- - Make ` Instant::{is_some, is_none, unwrap_or} ` const function on Rust 1.46+.
20+ - [ Make ` Instant::{is_some, is_none, unwrap_or} ` const function on Rust 1.46+.] ( https://github.com/taiki-e/easytime/pull/19 )
1921
20- - Implement ` TryFrom ` for ` Instant ` and ` Duration ` . With this change, the
21- minimum required version of ` easytime ` with ` --no- default-features ` goes up
22- to Rust 1.34. (The minimum required version of the default feature has not
23- changed.)
22+ - [ Implement ` TryFrom ` for ` Instant ` and ` Duration ` .] ( https://github.com/taiki-e/easytime/pull/10 )
23+ With this change, the minimum required version of ` easytime ` without default
24+ features goes up to Rust 1.34. (The minimum required version of the default
25+ feature has not changed.)
2426
25- - Implement ` PartialEq<std::time::Duration> ` and ` PartialOrd<std::time::Duration> `
26- for ` Duration ` .
27+ - [ Implement ` PartialEq<std::time::Duration> ` and ` PartialOrd<std::time::Duration> `
28+ for ` Duration ` .] ( https://github.com/taiki-e/easytime/pull/22 )
2729
28- - Implement ` PartialEq<std::time::Instant> ` and ` PartialOrd<std::time::Instant> `
29- for ` Instant ` .
30+ - [ Implement ` PartialEq<std::time::Instant> ` and ` PartialOrd<std::time::Instant> `
31+ for ` Instant ` .] ( https://github.com/taiki-e/easytime/pull/22 )
3032
31- - Implement ` From<Option<std::time::Duration>> ` for ` Duration ` .
33+ - [ Implement ` From<Option<std::time::Duration>> ` for ` Duration ` .] ( https://github.com/taiki-e/easytime/pull/22 )
3234
33- - Implement ` From<Option<std::time::Instant>> ` for ` Instant ` .
35+ - [ Implement ` From<Option<std::time::Instant>> ` for ` Instant ` .] ( https://github.com/taiki-e/easytime/pull/22 )
3436
35- - Changed the ` Debug ` implementation of ` Duration ` to display the
36- same as the result of ` std::time::Duration::checked_* ` .
37+ - [ Changed the ` Debug ` implementation of ` Duration ` to display the
38+ same as the result of ` std::time::Duration::checked_* ` .] ( https://github.com/taiki-e/easytime/pull/9 )
3739
3840- Documentation improvements.
3941
@@ -49,7 +51,8 @@ This project adheres to [Semantic Versioning](https://semver.org).
4951
5052Initial release
5153
52- [ Unreleased ] : https://github.com/taiki-e/easytime/compare/v0.1.2...HEAD
54+ [ Unreleased ] : https://github.com/taiki-e/easytime/compare/v0.2.0...HEAD
55+ [ 0.2.0 ] : https://github.com/taiki-e/easytime/compare/v0.1.2...v0.2.0
5356[ 0.1.2 ] : https://github.com/taiki-e/easytime/compare/v0.1.1...v0.1.2
5457[ 0.1.1 ] : https://github.com/taiki-e/easytime/compare/v0.1.0...v0.1.1
5558[ 0.1.0 ] : https://github.com/taiki-e/easytime/releases/tag/v0.1.0
0 commit comments