Skip to content

Commit d76a82c

Browse files
committed
Update changelog
1 parent 0bfa908 commit d76a82c

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,28 @@ This project adheres to [Semantic Versioning](https://semver.org).
66

77
## [Unreleased]
88

9-
- Implement `TryFrom` for `easytime::Instant` and `easytime::Duration`. With this change, the minimum required version of `easytime` with `--no-default-features` goes up to Rust 1.34 (the minimum required version of the default feature has not changed).
9+
- Make `Duration::{as_secs, subsec_millis, subsec_micros, subsec_nanos,
10+
as_millis, as_micros, as_nanos, is_some, is_none, unwrap_or}` const function
11+
on rustc 1.46+.
1012

11-
- Changed the `Debug` implementation of `easytime::Duration` to display the same as the result of `std::time::Duration::checked_*`.
13+
- Make `Instant::{is_some, is_none, unwrap_or}` const function on rustc 1.46+.
14+
15+
- Implement `TryFrom` for `easytime::Instant` and `easytime::Duration`. With
16+
this change, the minimum required version of `easytime` with `--no-default-features` goes up to Rust 1.34 (the minimum required version of the default feature has not changed).
17+
18+
- Changed the `Debug` implementation of `easytime::Duration` to display the
19+
same as the result of `std::time::Duration::checked_*`.
20+
21+
- Documentation improvements.
1222

1323
## [0.1.2] - 2019-03-01
1424

1525
- Remove "This example is not tested" warning in documentation example.
1626

1727
## [0.1.1] - 2019-02-23
1828

19-
- Add the `unwrap_or_else` method to `easytime::Instant` and `easytime::Duration`.
29+
- Add the `unwrap_or_else` method to `easytime::Instant` and
30+
`easytime::Duration`.
2031

2132
## [0.1.0] - 2019-02-19
2233

0 commit comments

Comments
 (0)