diff --git a/Cargo.lock b/Cargo.lock index ba36c805..0ed4d8cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -652,7 +652,7 @@ dependencies = [ [[package]] name = "tai64" -version = "2.0.1" +version = "3.0.0" dependencies = [ "chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", "quickcheck 0.8.5 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/tai64/CHANGES.md b/tai64/CHANGES.md index ea90926c..01298da0 100644 --- a/tai64/CHANGES.md +++ b/tai64/CHANGES.md @@ -1,3 +1,7 @@ +## [3.0.0] (2019-08-19) + +- Remove `failure` ([#245]) + ## [2.0.1] (2019-05-24) - Test all crates on Rust 1.35.0 ([#206]) @@ -36,6 +40,8 @@ - Initial release +[3.0.0]: https://github.com/iqlusioninc/crates/pull/250 +[#245]: https://github.com/iqlusioninc/crates/pull/245 [2.0.1]: https://github.com/iqlusioninc/crates/pull/208 [#206]: https://github.com/iqlusioninc/crates/pull/206 [2.0.0]: https://github.com/iqlusioninc/crates/pull/197 diff --git a/tai64/Cargo.toml b/tai64/Cargo.toml index 4ca5490f..da71e4ca 100644 --- a/tai64/Cargo.toml +++ b/tai64/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tai64" description = "TAI64 and TAI64N (i.e. Temps Atomique International) timestamp support for Rust" -version = "2.0.1" # Also update html_root_url in lib.rs when bumping this +version = "3.0.0" # Also update html_root_url in lib.rs when bumping this authors = ["Tony Arcieri ", "sopium "] license = "Apache-2.0" edition = "2018" diff --git a/tai64/README.md b/tai64/README.md index 0bf91429..5c9fbf93 100644 --- a/tai64/README.md +++ b/tai64/README.md @@ -3,7 +3,7 @@ [![Crate][crate-image]][crate-link] [![Docs][docs-image]][docs-link] [![Apache 2.0 Licensed][license-image]][license-link] -![Rust 1.35+][rustc-image] +![MSRV][rustc-image] [![Safety Dance][safety-image]][safety-link] [![Build Status][build-image]][build-link] [![Gitter Chat][gitter-image]][gitter-link] @@ -18,7 +18,7 @@ Supports converting to/from Rust's built-in [SystemTime] type and optionally to ## Requirements -- Rust 1.35+ +- Rust **1.36+** ## License @@ -48,7 +48,7 @@ without any additional terms or conditions. [docs-link]: https://docs.rs/tai64/ [license-image]: https://img.shields.io/badge/license-Apache2.0-blue.svg [license-link]: https://github.com/iqlusioninc/crates/blob/develop/LICENSE -[rustc-image]: https://img.shields.io/badge/rustc-1.35+-blue.svg +[rustc-image]: https://img.shields.io/badge/rustc-1.36+-blue.svg [safety-image]: https://img.shields.io/badge/unsafe-forbidden-success.svg [safety-link]: https://github.com/rust-secure-code/safety-dance/ [build-image]: https://travis-ci.com/iqlusioninc/crates.svg?branch=develop diff --git a/tai64/src/lib.rs b/tai64/src/lib.rs index c82f4925..75712960 100644 --- a/tai64/src/lib.rs +++ b/tai64/src/lib.rs @@ -1,9 +1,9 @@ //! TAI64(N) timestamp generation, parsing and calculation. #![no_std] -#![deny(warnings, missing_docs, unused_import_braces, unused_qualifications)] +#![deny(warnings, missing_docs, rust_2018_idioms, unused_qualifications)] #![forbid(unsafe_code)] -#![doc(html_root_url = "https://docs.rs/tai64/2.0.1")] +#![doc(html_root_url = "https://docs.rs/tai64/3.0.0")] #[cfg(feature = "chrono")] use chrono::{DateTime, NaiveDateTime, Utc}; @@ -293,7 +293,7 @@ pub enum Error { } impl fmt::Display for Error { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { let description = match self { Error::LengthInvalid => "length invalid", Error::NanosInvalid => "invalid number of nanoseconds",